首页    期刊浏览 2025年05月03日 星期六
登录注册

文章基本信息

  • 标题:An Empirical Study on the Impact of Duplicate Code
  • 本地全文:下载
  • 作者:Keisuke Hotta ; Yui Sasaki ; Yukiko Sano
  • 期刊名称:Advances in Software Engineering
  • 印刷版ISSN:1687-8655
  • 电子版ISSN:1687-8663
  • 出版年度:2012
  • 卷号:2012
  • DOI:10.1155/2012/938296
  • 出版社:Hindawi Publishing Corporation
  • 摘要: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.
国家哲学社会科学文献中心版权所有