TY - GEN
T1 - An investigation of the effect of module size on defect prediction using static measures
AU - Koru, A. Günes
AU - Liu, Hongfang
N1 - Publisher Copyright:
Copyright 2005 ACM.
PY - 2005/5/15
Y1 - 2005/5/15
N2 - We used several machine learning algorithms to predict the defective modules in five NASA products, namely, CM1, JM1, KC1, KC2, and PC1. A set of staticmeasures were employed as predictor variables. While doing so, we observed that a large portion of the modules were small, as measured by lines of code (LOC). When we experimented on the data subsets created by partitioning according to module size, we obtained higher prediction performance for the subsets that include larger modules. We also performed defect prediction using class-level data for KC1 rather than the method-level data. In this case, the use of class-level data resulted in improved prediction performance compared to using methodlevel data. These findings suggest that quality assurance activities can be guided even better if defect prediction is performed by using data that belong to larger modules.
AB - We used several machine learning algorithms to predict the defective modules in five NASA products, namely, CM1, JM1, KC1, KC2, and PC1. A set of staticmeasures were employed as predictor variables. While doing so, we observed that a large portion of the modules were small, as measured by lines of code (LOC). When we experimented on the data subsets created by partitioning according to module size, we obtained higher prediction performance for the subsets that include larger modules. We also performed defect prediction using class-level data for KC1 rather than the method-level data. In this case, the use of class-level data resulted in improved prediction performance compared to using methodlevel data. These findings suggest that quality assurance activities can be guided even better if defect prediction is performed by using data that belong to larger modules.
KW - Defect Prediction
KW - Prediction Models
KW - Software Metrics
KW - Software Quality Management
KW - Static Measures
UR - http://www.scopus.com/inward/record.url?scp=85015701511&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85015701511&partnerID=8YFLogxK
U2 - 10.1145/1083165.1083172
DO - 10.1145/1083165.1083172
M3 - Conference contribution
AN - SCOPUS:85015701511
T3 - Proceedings of the 2005 Workshop on Predictor Models in Software Engineering, PROMISE 2005
BT - Proceedings of the 2005 Workshop on Predictor Models in Software Engineering, PROMISE 2005
PB - Association for Computing Machinery, Inc
T2 - 2005 Workshop on Predictor Models in Software Engineering, PROMISE 2005
Y2 - 15 May 2005
ER -