TY - JOUR
T1 - Software analysis by code clones in open source software
AU - Uchida, Shinji
AU - Monden, Akito
AU - Ohsugi, Naoki
AU - Kamiya, Toshihiro
AU - Matsumoto, Ken Ichi
AU - Kudo, Hideo
N1 - Copyright:
Copyright 2013 Elsevier B.V., All rights reserved.
PY - 2005/3
Y1 - 2005/3
N2 - The code clone (a duplicated code section in the source files of software) is one of the factors that complicate software maintenance. However, few empirical studies have analyzed the status quo of code clones. In this paper we conduct an extensive analysis of code clones using 125 packages of open source software written in C language, and suggest guidelines for the allowable production of code clones. Our results showed 11.3% as the average CRate (clone inclusion rate). For software packages that did not include automatically generated code, the CRate was 9.7%, the in-module CRate 8.2%, and the inter-module CRate 1.3%. These rates can be used as criteria for the allowable amount of code clone production. This paper also presents our findings on factors of code clone production, the influence of code clone production on maintainability, and removal methods.
AB - The code clone (a duplicated code section in the source files of software) is one of the factors that complicate software maintenance. However, few empirical studies have analyzed the status quo of code clones. In this paper we conduct an extensive analysis of code clones using 125 packages of open source software written in C language, and suggest guidelines for the allowable production of code clones. Our results showed 11.3% as the average CRate (clone inclusion rate). For software packages that did not include automatically generated code, the CRate was 9.7%, the in-module CRate 8.2%, and the inter-module CRate 1.3%. These rates can be used as criteria for the allowable amount of code clone production. This paper also presents our findings on factors of code clone production, the influence of code clone production on maintainability, and removal methods.
KW - Software Maintenance
KW - Software Measurement
KW - Software Metrics
UR - http://www.scopus.com/inward/record.url?scp=18744370756&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=18744370756&partnerID=8YFLogxK
M3 - Article
AN - SCOPUS:18744370756
SN - 0887-4417
VL - 45
SP - 1
EP - 11
JO - Journal of Computer Information Systems
JF - Journal of Computer Information Systems
IS - 3
ER -