On the Time-Based Conclusion Stability of Cross-Project Defect Prediction Models

Abdul Bangash, Hareem Sahar, Abram Hindle, Karim Ali

2020/08/07

On the Time-Based Conclusion Stability of Cross-Project Defect Prediction Models

Authors

Abdul Bangash, Hareem Sahar, Abram Hindle, Karim Ali

Venue

Abstract

Researchers in empirical software engineering often make claims based on observable data such as defect reports. Unfortunately, in many cases, these claims are generalized beyond the data sets that have been evaluated. Will the researcher’s conclusions hold a year from now for the same software projects? Perhaps not. Recent studies show that in the area of Software Analytics, conclusions over different data sets are usually inconsistent. In this article, we empirically investigate whether conclusions in the area of cross-project defect prediction truly exhibit stability throughout time or not. Our investigation applies a time-aware evaluation approach where models are trained only on the past, and evaluations are executed only on the future. Through this time-aware evaluation, we show that depending on which time period we evaluate defect predictors, their performance, in terms of F-Score, the area under the curve (AUC), and Mathews Correlation Coefficient (MCC), varies and their results are not consistent. The next release of a product, which is significantly different from its prior release, may drastically change defect prediction performance. Therefore, without knowing about the conclusion stability, empirical software engineering researchers should limit their claims of performance within the contexts of evaluation, because broad claims about defect prediction performance might be contradicted by the next upcoming release of a product under analysis

Bibtex

@article{bangash2020EMSEstability,
 abstract = {Researchers in empirical software engineering often make claims based on observable data such as defect reports. Unfortunately, in many cases, these claims are generalized beyond the data sets that have been evaluated. Will the researcher's conclusions hold a year from now for the same software projects? Perhaps not. Recent studies show that in the area of Software Analytics, conclusions over different data sets are usually inconsistent. In this article, we empirically investigate whether conclusions in the area of cross-project defect prediction truly exhibit stability throughout time or not. Our investigation applies a time-aware evaluation approach where models are trained only on the past, and evaluations are executed only on the future. Through this time-aware evaluation, we show that depending on which time period we evaluate defect predictors, their performance, in terms of F-Score, the area under the curve (AUC), and Mathews Correlation Coefficient (MCC), varies and their results are not consistent. The next release of a product, which is significantly different from its prior release, may drastically change defect prediction performance. Therefore, without knowing about the conclusion stability, empirical software engineering researchers should limit their claims of performance within the contexts of evaluation, because broad claims about defect prediction performance might be contradicted by the next upcoming release of a product under analysis},
 accepted = {2020-08-07},
 author = {Abdul Bangash and Hareem Sahar and Abram Hindle and Karim Ali},
 authors = {Abdul Bangash, Hareem Sahar, Abram Hindle, Karim Ali},
 code = {bangash2020EMSEstability},
 day = {7},
 funding = {NSERC Discovery},
 institution = {University of Alberta},
 journal = {Empirical Software Engineering},
 month = {August},
 pages = {1--39},
 preprint = {https://arxiv.org/abs/1911.06348},
 role = { Researcher / Co-author},
 title = {On the Time-Based Conclusion Stability of Cross-Project Defect Prediction Models},
 type = {article},
 url = {http://softwareprocess.ca/pubs/bangash2020EMSEstability.pdf},
 venue = {Empirical Software Engineering},
 year = {2020}
}