HOME JOURNALS CONTACT

Journal of Software Engineering

Year: 2013 | Volume: 7 | Issue: 3 | Page No.: 114-120
DOI: 10.3923/jse.2013.114.120
Study on the Correlations Between Program Metrics and Defect Rate by a Controlled Experiment
Fuqun Huang and Bin Liu

Abstract: Software defect prediction is an important approach that helps practitioners to manage software projects effectively. A large numbers of the existing models are based on program metrics. But how much exactly these metrics can account for defect rate still remains a controversial problem. As is known to all, programming is a knowledge-intensive activity. The content of task and the expertise of individuals influence defect rates a lot. Thus, if these interference factors are not well controlled, it's hard to draw any conclusions on how program metrics affect defect rate alone. There is extremely limited evidence produced by controlled experiments on this problem. This study bridges the gap by conducting a controlled experiment, in which the programming problem is solved by subjects with the same background of academic performance, programming training and programming experience. Fifty four subjects participated in the experiment, with 51 different versions of programs produced in the same language C. The results demonstrate that program metrics can only account for 27.6% variability of defect rate.

Fulltext PDF Fulltext HTML

How to cite this article
Fuqun Huang and Bin Liu, 2013. Study on the Correlations Between Program Metrics and Defect Rate by a Controlled Experiment. Journal of Software Engineering, 7: 114-120.

© Science Alert. All Rights Reserved