Title :
How, and why, process metrics are better
Author :
Rahman, Farin ; Devanbu, Premkumar
Author_Institution :
Univ. of California, Davis, Davis, CA, USA
Abstract :
Defect prediction techniques could potentially help us to focus quality-assurance efforts on the most defect-prone files. Modern statistical tools make it very easy to quickly build and deploy prediction models. Software metrics are at the heart of prediction models; understanding how and especially why different types of metrics are effective is very important for successful model deployment. In this paper we analyze the applicability and efficacy of process and code metrics from several different perspectives. We build many prediction models across 85 releases of 12 large open source projects to address the performance, stability, portability and stasis of different sets of metrics. Our results suggest that code metrics, despite widespread use in the defect prediction literature, are generally less useful than process metrics for prediction. Second, we find that code metrics have high stasis; they don´t change very much from release to release. This leads to stagnation in the prediction models, leading to the same files being repeatedly predicted as defective; unfortunately, these recurringly defective files turn out to be comparatively less defect-dense.
Keywords :
software metrics; software performance evaluation; software quality; statistical analysis; code metrics; defect prediction; defect-prone files; model deployment; performance; portability; process metrics; quality-assurance efforts; software metrics; stability; statistical tools; Complexity theory; Measurement; Object oriented modeling; Predictive models; Software; Support vector machines; Training;
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
DOI :
10.1109/ICSE.2013.6606589