著者
Monden Akito Nakae Daikai Kamiya Toshihito Sato Shin-ichi Matsumoto Ken-ichi
出版者
Nara Institute of Science and Technology
巻号頁・発行日
2001-09

Existing researches suggest that the code clone (duplicated code) is one of the factors that degrades the design and structure of software and lowers the software quality such as readability and maintainability. However, the influence of code clones on software quality has not been quantitatively clarified yet. In this paper we tried to quantitatively clarify the relation between code clones and the software reliability and maintainability of twenty years old software. As a result, we found that modules having a code clone (clone-included modules) are more reliable than modules having no code clone (non-clone modules) in average. Nevertheless, the modules having very large code clones (more than 200 lines) are less reliable than non-clone modules. We also found that clone-included modules are less maintainable than non-clone modules; and, modules having larger code clone are less maintainable than modules having smaller code clone.