Correlation Analysis of Software Defects Density and Metrics

Wei Zhang, Zhen Tao Yu, Wen Ge Zhang, Qing Ling Lu, Xiao Bing Nie · Applied Mechanics and Materials · 2015

It is very useful for improving software quality if we can find which software metrics are more correlative with software defects or defects density. Based on 33 actual software projects, we analyzed 44 software metrics from application level, file level, class level and function level, and do correlation analysis with the number of software defects and defect density, the results show that software metrics have little correlation with the number of software defects, but are correlative with defect density. Through correlation analysis, we selected five metrics that have larger correlation with defect density, these metrics can be used for improving software quality and predicting software defects density.

Read the paper · More papers on PaperTik