TY - GEN
T1 - An empirical study of fault prediction with code clone metrics
AU - Kamei, Yasutaka
AU - Sato, Hiroki
AU - Monden, Akito
AU - Kawaguchi, Shinji
AU - Uwano, Hidetake
AU - Nagura, Masataka
AU - Matsumoto, Ken Ichi
AU - Ubayashi, Naoyasu
PY - 2011/12/1
Y1 - 2011/12/1
N2 - In this paper, we present a replicated study to predict fault-prone modules with code clone metrics to follow Baba's experiment [1]. We empirically evaluated the performance of fault prediction models with clone metrics using 3 datasets from the Eclipse project and compared it to fault prediction without clone metrics. Contrary to the original Baba's experiment, we could not significantly support the effect of clone metrics, i.e., the result showed that F1-measure of fault prediction was not improved by adding clone metrics to the prediction model. To explain this result, this paper analyzed the relationship between clone metrics and fault density. The result suggested that clone metrics were effective in fault prediction for large modules but not for small modules.
AB - In this paper, we present a replicated study to predict fault-prone modules with code clone metrics to follow Baba's experiment [1]. We empirically evaluated the performance of fault prediction models with clone metrics using 3 datasets from the Eclipse project and compared it to fault prediction without clone metrics. Contrary to the original Baba's experiment, we could not significantly support the effect of clone metrics, i.e., the result showed that F1-measure of fault prediction was not improved by adding clone metrics to the prediction model. To explain this result, this paper analyzed the relationship between clone metrics and fault density. The result suggested that clone metrics were effective in fault prediction for large modules but not for small modules.
KW - Code clone
KW - Empirical study
KW - Fault prediction
KW - Logistic regression analysis
KW - Product metrics
UR - http://www.scopus.com/inward/record.url?scp=84856159849&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84856159849&partnerID=8YFLogxK
U2 - 10.1109/IWSM-MENSURA.2011.12
DO - 10.1109/IWSM-MENSURA.2011.12
M3 - Conference contribution
AN - SCOPUS:84856159849
SN - 9780769544977
T3 - Proceedings - Joint Conference of the 21st International Workshop on Software Measurement, IWSM 2011 and the 6th International Conference on Software Process and Product Measurement, MENSURA 2011
SP - 55
EP - 61
BT - Proceedings - Joint Conference of the 21st International Workshop on Software Measurement, IWSM 2011 and the 6th International Conference on Software Process and Product Measurement, MENSURA 2011
T2 - Joint Conference of the 21st International Workshop on Software Measurement, IWSM 2011 and the 6th International Conference on Software Process and Product Measurement, MENSURA 2011
Y2 - 3 November 2011 through 4 November 2011
ER -