Title :
Mining frequent bug-fix code changes
Author :
Osman, Haitham ; Lungu, Mircea ; Nierstrasz, Oscar
Author_Institution :
Software Composition Group, Univ. of Bern, Bern, Switzerland
Abstract :
Detecting bugs as early as possible plays an important role in ensuring software quality before shipping. We argue that mining previous bug fixes can produce good knowledge about why bugs happen and how they are fixed. In this paper, we mine the change history of 717 open source projects to extract bug-fix patterns. We also manually inspect many of the bugs we found to get insights into the contexts and reasons behind those bugs. For instance, we found out that missing null checks and missing initializations are very recurrent and we believe that they can be automatically detected and fixed.
Keywords :
data mining; program debugging; public domain software; software quality; bug-fix pattern; bugs detection; mining frequent bug-fix code changes; null checks; open source projects; software quality; Cloning; Computer bugs; Data mining; History; Java; Software; Software engineering;
Conference_Titel :
Software Maintenance, Reengineering and Reverse Engineering (CSMR-WCRE), 2014 Software Evolution Week - IEEE Conference on
Conference_Location :
Antwerp
DOI :
10.1109/CSMR-WCRE.2014.6747191