We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/An Empirical Study on the Impact of Duplicate Code
PeriodicalsComputer Science & Information Technology

An Empirical Study on the Impact of Duplicate Code

Checking your access to this record.

Abstract & Overview

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.

Cite this record

Keisuke Hotta, Yui Sasaki, Yukiko Sano, Yoshiki Higo, Shinji Kusumoto (2012). An Empirical Study on the Impact of Duplicate Code. Advances in Software Engineering, 2012, 1–22. https://doi.org/10.1155/2012/938296

Copy in another style

Hotta, K., Sasaki, Y., Sano, Y., Higo, Y., & Kusumoto, S. (2012). An Empirical Study on the Impact of Duplicate Code. Advances in Software Engineering, 2012, 1–22. https://doi.org/10.1155/2012/938296
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.