On the costs and profit of software defect prediction

11/11/2019
by   Steffen Herbold, et al.
0

Defect prediction can be a powerful tool to guide the use of quality assurance resources. However, while lots of research covered methods for defect prediction as well as methodological aspects of defect prediction research, the actual cost saving potential of defect prediction is still unclear. Within this article, we close this research gap and formulate a cost model for software defect prediction. We derive mathematically provable boundary conditions that must be fulfilled by defect prediction models such that there is a positive profit when the defect prediction model is used. Our cost model includes aspects like the costs for quality assurance, the costs of post-release defects, the possibility that quality assurance fails to reveal predicted defects, and the relationship between software artifacts and defects. We initialize the cost model using different assumptions, perform experiments to show trends of the behavior of costs on real projects. Our results show that the unrealistic assumption that defects only affect a single software artifact, which is a standard practice in the defect prediction literature, leads to inaccurate cost estimations. Moreover, the results indicate that thresholds for machine learning metrics are also not suited to define success criteria for software defect prediction.

READ FULL TEXT
research
04/01/2021

Exploring the relationship between performance metrics and cost saving potential of defect prediction models

Performance metrics are a core component of the evaluation of any machin...
research
01/12/2018

Benchmarking cross-project defect prediction approaches with costs metrics

Defect prediction can be a powerful tool to guide the use of quality ass...
research
01/13/2023

Do the Defect Prediction Models Really Work?

You may develop a potential prediction model, but how can I trust your m...
research
01/16/2023

The Probabilistic Bounds on the Feasibility of the Defect Prediction Models in Real-World Testing Environments

The research on developing software defect prediction (SDP) models is ta...
research
05/16/2023

Applying Machine Learning Analysis for Software Quality Test

One of the biggest expense in software development is the maintenance. T...
research
03/13/2018

Building Better Quality Predictors Using "ε-Dominance"

Despite extensive research, many methods in software quality prediction ...
research
08/09/2017

Predicting and Evaluating Software Model Growth in the Automotive Industry

The size of a software artifact influences the software quality and impa...

Please sign up or login with your details

Forgot password? Click here to reset