Publikation

Zurück zur Übersicht

Mining frequent bug-fix code changes

Publikationsart Peer-reviewed
Publikationsform Tagungsbeitrag (peer-reviewed)
Publikationsjahr 2014
Autor/in Osman Haidar, Lungu Mircea, Nierstrasz Oscar
Projekt Agile Software Assessment
Alle Daten anzeigen

Tagungsbeitrag (peer-reviewed)

Titel der Proceedings Software Maintenance, Reengineering and Reverse Engineering (CSMR-WCRE)
Status Publiziert
DOI 10.1109/CSMR-WCRE.2014.6747191

Open Access

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.