An empirical study of fault prediction with code clone metrics

Yasutaka Kamei, Hiroki Sato, Akito Monden, Shinji Kawaguchi, Hidetake Uwano, Masataka Nagura, Ken Ichi Matsumoto, Naoyasu Ubayashi

Research output: Chapter in Book/Report/Conference proceedingConference contribution

12 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 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
Pages55-61
Number of pages7
DOIs
Publication statusPublished - Dec 1 2011
Externally publishedYes
EventJoint Conference of the 21st International Workshop on Software Measurement, IWSM 2011 and the 6th International Conference on Software Process and Product Measurement, MENSURA 2011 - Nara, Japan
Duration: Nov 3 2011Nov 4 2011

Publication series

NameProceedings - 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

Other

OtherJoint Conference of the 21st International Workshop on Software Measurement, IWSM 2011 and the 6th International Conference on Software Process and Product Measurement, MENSURA 2011
Country/TerritoryJapan
CityNara
Period11/3/1111/4/11

Keywords

  • Code clone
  • Empirical study
  • Fault prediction
  • Logistic regression analysis
  • Product metrics

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'An empirical study of fault prediction with code clone metrics'. Together they form a unique fingerprint.

Cite this