Software Quality Analysis by Code Clones in Industrial Legacy Software

  • Authors:
  • Akito Monden;Daikai Nakae;Toshihiro Kamiya;Shin-ichi Sato;Ken-ichi Matsumoto

  • Affiliations:
  • -;-;-;-;-

  • Venue:
  • METRICS '02 Proceedings of the 8th International Symposium on Software Metrics
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

Existing researches suggest that the code clone(duplicated code) is one of the factors that degrades thedesign and the structure of software and lowers thesoftware quality such as readability and changeability.However, the influence of code clones on softwarequality has not been quantitatively clarified yet.In this paper, we have tried to quantitatively clarifythe relation between code clones and the softwarereliability and maintainability of twenty years oldsoftware. As a result, we found that modules having codeclones (clone-included modules) are more reliable thanmodules having no code clone (non-clone modules) onaverage. Nevertheless, the modules having very largecode clones (more than 200 SLOC) are less reliable thannon-clone modules. We also found that clone-includedmodules are less maintainable (having greater revisionnumber on average) than non-clone modules; and,modules having larger code clone are less maintainablethan modules having smaller code clone.