An Empirical Study on the Impact of Duplicate Code
Joint Authors
Higo, Yoshiki
Hotta, Keisuke
Sasaki, Yui
Sano, Yukiko
Kusumoto, Shinji
Source
Advances in Software Engineering
Issue
Vol. 2012, Issue 2012 (31 Dec. 2012), pp.1-22, 22 p.
Publisher
Hindawi Publishing Corporation
Publication Date
2012-05-28
Country of Publication
Egypt
No. of Pages
22
Main Subjects
Abstract EN
It is said that the presence of duplicate code is one of the factors that make software maintenance more difficult.
Many research efforts have been performed on detecting, removing, or managing duplicate code on this basis.
However, some researchers doubt this basis in recent years and have conducted empirical studies to investigate the influence of the presence of duplicate code.
In this study, we conduct an empirical study to investigate this matter from a different standpoint from previous studies.
In this study, we define a new indicator “modification frequency” to measure the impact of duplicate code and compare the values between duplicate code and nonduplicate code.
The features of this study are as follows the indicator used in this study is based on modification places instead of the ratio of modified lines; we use multiple duplicate code detection tools to reduce biases of detection tools; and we compare the result of the proposed method with other two investigation methods.
The result shows that duplicate code tends to be less frequently modified than nonduplicate code, and we found some instances that the proposed method can evaluate the influence of duplicate code more accurately than the existing investigation methods.
American Psychological Association (APA)
Hotta, Keisuke& Sasaki, Yui& Sano, Yukiko& Higo, Yoshiki& Kusumoto, Shinji. 2012. An Empirical Study on the Impact of Duplicate Code. Advances in Software Engineering،Vol. 2012, no. 2012, pp.1-22.
https://search.emarefa.net/detail/BIM-509743
Modern Language Association (MLA)
Hotta, Keisuke…[et al.]. An Empirical Study on the Impact of Duplicate Code. Advances in Software Engineering No. 2012 (2012), pp.1-22.
https://search.emarefa.net/detail/BIM-509743
American Medical Association (AMA)
Hotta, Keisuke& Sasaki, Yui& Sano, Yukiko& Higo, Yoshiki& Kusumoto, Shinji. An Empirical Study on the Impact of Duplicate Code. Advances in Software Engineering. 2012. Vol. 2012, no. 2012, pp.1-22.
https://search.emarefa.net/detail/BIM-509743
Data Type
Journal Articles
Language
English
Notes
Includes bibliographical references
Record ID
BIM-509743