Tracking concept drift of software projects using defect prediction quality

TitleTracking concept drift of software projects using defect prediction quality
Publication TypeConference Paper
Year of Publication2009
AuthorsEkanayake, J, Tappolet, J, Gall, HC, Bernstein, A
Secondary Title2009 6th IEEE International Working Conference on Mining Software Repositories (MSR)2009 6th IEEE International Working Conference on Mining Software Repositories
Pagination51 - 60
PublisherIEEE
Place PublishedVancouver, BC, Canada
ISBN Number978-1-4244-3493-0
Keywordsbugzilla, cvs, defect prediction, eclipse, mozilla, netbeans, openoffice
Abstract

Defect prediction is an important task in the mining of software repositories, but the quality of predictions varies strongly within and across software projects. In this paper we investigate the reasons why the prediction quality is so fluctuating due to the altering nature of the bug (or defect) fixing process. Therefore, we adopt the notion of a concept drift, which denotes that the defect prediction model has become unsuitable as set of influencing features has changed - usually due to a change in the underlying bug generation process (i.e., the concept). We explore four open source projects (Eclipse, OpenOffice, Netbeans and Mozilla) and construct file-level and project-level features for each of them from their respective CVS and Bugzilla repositories. We then use this data to build defect prediction models and visualize the prediction quality along the time axis. These visualizations allow us to identify concept drifts and - as a consequence - phases of stability and instability expressed in the level of defect prediction quality. Further, we identify those project features, which are influencing the defect prediction quality using both a tree induction-algorithm and a linear regression model. Our experiments uncover that software systems are subject to considerable concept drifts in their evolution history. Specifically, we observe that the change in number of authors editing a file and the number of defects fixed by them contribute to a project's concept drift and therefore influence the defect prediction quality. Our findings suggest that project managers using defect prediction models for decision making should be aware of the actual phase of stability or instability due to a potential concept drift.

DOI10.1109/MSR.2009.5069480
Full Text
AttachmentSize
PDF icon 51MSR2009_0111_Ekanayake_Jayalath.pdf430.49 KB