Exploring the relationship between performance metrics and cost saving potential of defect prediction models
Open Access
- 27 September 2022
- journal article
- research article
- Published by Springer Nature in Empirical Software Engineering
- Vol. 27 (7) , 1-38
Abstract
Context: Performance metrics are a core component of the evaluation of any machine learning model and used to compare models and estimate their usefulness. Recent work started to question the validity of many performance metrics for this purpose in the context of software defect prediction.Objective: Within this study, we explore the relationship between performance metrics and the cost saving potential of defect prediction models. We study whether performance metrics are suitable proxies to evaluate the cost saving capabilities and derive a theory for the relationship between performance metrics and cost saving potential.Methods: We measure performance metrics and cost saving potential in defect prediction experiments. We use a multinomial logit model, decision, and random forest to model the relationship between the metrics and the cost savings.Results: We could not find a stable relationship between cost savings and performance metrics. We attribute the lack of the relationship to the inability of performance metrics to account for the property that a small proportion of very large software artifacts are the main driver of the costs.fact that performance metrics are incapable of accurately considering the costs associate with individual artifacts, which is required due to the exponential distribution of artifact sizes.Conclusion: Any defect prediction study interested in finding the best prediction model, must consider cost savings directly, because no reasonable claims regarding the economic benefits of defect prediction can be made otherwise.Keywords
All Related Versions
Funding Information
- Technische Universität Clausthal
This publication has 50 references indexed in Scilit:
- Investigating the effect of “defect co-fix” on quality assurance resource allocation: A search-based approachJournal of Systems and Software, 2015
- An empirical study on software defect prediction with a simplified metric setInformation and Software Technology, 2015
- Researcher Bias: The Use of Machine Learning in Software Defect PredictionIEEE Transactions on Software Engineering, 2014
- Is lines of code a good measure of effort in effort-aware models?Information and Software Technology, 2013
- Empirical evaluation of the effects of mixed project data on learning defect predictorsInformation and Software Technology, 2013
- Guidelines for conducting and reporting case study research in software engineeringEmpirical Software Engineering, 2008
- Credit scoring with a data mining approach based on support vector machinesExpert Systems with Applications, 2007
- Cost curves: An improved method for visualizing classifier performanceMachine Learning, 2006
- Predicting fault-prone software modules in telephone switchesIEEE Transactions on Software Engineering, 1996
- The Proof and Measurement of Association between Two ThingsThe American Journal of Psychology, 1987