학술논문

An Empirical Study of Fault Prediction with Code Clone Metrics
Document Type
Conference
Source
2011 Joint Conference of the 21st International Workshop on Software Measurement and the 6th International Conference on Software Process and Product Measurement 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). :55-61 Nov, 2011
Subject
Computing and Processing
Cloning
Measurement
Predictive models
Correlation
Software reliability
Software
Logistics
Code clone
Fault prediction
Product metrics
Empirical study
Logistic regression analysis
Language
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.