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

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
CountryJapan
CityNara
Period11/3/1111/4/11

Fingerprint

Experiments

Keywords

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

ASJC Scopus subject areas

  • Software

Cite this

Kamei, Y., Sato, H., Monden, A., Kawaguchi, S., Uwano, H., Nagura, M., ... Ubayashi, N. (2011). An empirical study of fault prediction with code clone metrics. In 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 (pp. 55-61). [6113044] https://doi.org/10.1109/IWSM-MENSURA.2011.12

An empirical study of fault prediction with code clone metrics. / Kamei, Yasutaka; Sato, Hiroki; Monden, Akito; Kawaguchi, Shinji; Uwano, Hidetake; Nagura, Masataka; Matsumoto, Ken Ichi; Ubayashi, Naoyasu.

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. 2011. p. 55-61 6113044.

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

Kamei, Y, Sato, H, Monden, A, Kawaguchi, S, Uwano, H, Nagura, M, Matsumoto, KI & Ubayashi, N 2011, An empirical study of fault prediction with code clone metrics. in 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., 6113044, pp. 55-61, 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, Nara, Japan, 11/3/11. https://doi.org/10.1109/IWSM-MENSURA.2011.12
Kamei Y, Sato H, Monden A, Kawaguchi S, Uwano H, Nagura M et al. An empirical study of fault prediction with code clone metrics. In 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. 2011. p. 55-61. 6113044 https://doi.org/10.1109/IWSM-MENSURA.2011.12
Kamei, Yasutaka ; Sato, Hiroki ; Monden, Akito ; Kawaguchi, Shinji ; Uwano, Hidetake ; Nagura, Masataka ; Matsumoto, Ken Ichi ; Ubayashi, Naoyasu. / An empirical study of fault prediction with code clone metrics. 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. 2011. pp. 55-61
@inproceedings{6258214f57d14ed782a3d18204dc2d8b,
title = "An empirical study of fault prediction with code clone metrics",
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.",
keywords = "Code clone, Empirical study, Fault prediction, Logistic regression analysis, Product metrics",
author = "Yasutaka Kamei and Hiroki Sato and Akito Monden and Shinji Kawaguchi and Hidetake Uwano and Masataka Nagura and Matsumoto, {Ken Ichi} and Naoyasu Ubayashi",
year = "2011",
doi = "10.1109/IWSM-MENSURA.2011.12",
language = "English",
isbn = "9780769544977",
pages = "55--61",
booktitle = "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",

}

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

Y1 - 2011

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

SN - 9780769544977

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

ER -