1. A defect classification method comprising: computing differences between versions of a line of source code; lexically analyzing the computed differences to produce a lexical construct; mapping the lexical construct to a classification; and, assigning the defect classification to the line of source code.