Time variance and defect prediction in software projects |
| |
Authors: | Jayalath Ekanayake Jonas Tappolet Harald C. Gall Abraham Bernstein |
| |
Affiliation: | 1. Dynamic and Distributed Information Systems, Institute of Informatics, University of Zurich, Zurich, Switzerland 2. Software Evolution and Architecture Lab, Institute of Informatics, University of Zurich, Zurich, Switzerland
|
| |
Abstract: | It is crucial for a software manager to know whether or not one can rely on a bug prediction model. A wrong prediction of the number or the location of future bugs can lead to problems in the achievement of a project’s goals. In this paper we first verify the existence of variability in a bug prediction model’s accuracy over time both visually and statistically. Furthermore, we explore the reasons for such a high variability over time, which includes periods of stability and variability of prediction quality, and formulate a decision procedure for evaluating prediction models before applying them. To exemplify our findings we use data from four open source projects and empirically identify various project features that influence the defect prediction quality. Specifically, we observed that a change in the number of authors editing a file and the number of defects fixed by them influence the prediction quality. Finally, we introduce an approach to estimate the accuracy of prediction models that helps a project manager decide when to rely on a prediction model. Our findings suggest that one should be aware of the periods of stability and variability of prediction quality and should use approaches such as ours to assess their models’ accuracy in advance. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|