The Community for Technology Leaders
2009 6th IEEE International Working Conference on Mining Software Repositories (2009)
Vancouver, BC, Canada
May 16, 2009 to May 17, 2009
ISBN: 978-1-4244-3493-0
pp: 51-60
Jayalath Ekanayake , Dynamic and Distributed Systems Group, Department of Informatics, University of Zurich, Switzerland
Jonas Tappolet , Dynamic and Distributed Systems Group, Department of Informatics, University of Zurich, Switzerland
Harald C. Gall , Software Evolution and Architecture Lab, Department of Informatics, University of Zurich, Switzerland
Abraham Bernstein , Dynamic and Distributed Systems Group, Department of Informatics, University of Zurich, Switzerland
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.
INDEX TERMS
CITATION

J. Ekanayake, H. C. Gall, J. Tappolet and A. Bernstein, "Tracking concept drift of software projects using defect prediction quality," 2009 6th IEEE International Working Conference on Mining Software Repositories(MSR), Vancouver, BC, Canada, 2009, pp. 51-60.
doi:10.1109/MSR.2009.5069480
90 ms
(Ver 3.3 (11022016))