Title :
An Empirical Study of Fault Prediction with Code Clone Metrics
Author :
Kamei, Yasutaka ; Sato, Hiroki ; Monden, Akito ; Kawaguchi, Shinji ; Uwano, Hidetake ; Nagura, Masataka ; Matsumoto, Ken-ichi ; Ubayashi, Naoyasu
Abstract :
In this paper, we present a replicated study to predict fault-prone modules with code clone metrics to follow Baba´s experiment. 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.
Keywords :
program compilers; software fault tolerance; software metrics; Baba experiment; Eclipse project; F1-measure; code clone metrics; fault density; fault prone module prediction; Cloning; Correlation; Logistics; Measurement; Predictive models; Software; Software reliability; Code clone; Empirical study; Fault prediction; Logistic regression analysis; Product metrics;
Conference_Titel :
Software Measurement, 2011 Joint Conference of the 21st Int'l Workshop on and 6th Int'l Conference on Software Process and Product Measurement (IWSM-MENSURA)
Conference_Location :
Nara
Print_ISBN :
978-1-4577-1930-1
DOI :
10.1109/IWSM-MENSURA.2011.12