...
首页> 外文期刊>Advances in software engineering >An Empirical Study on the Impact of Duplicate Code
【24h】

An Empirical Study on the Impact of Duplicate Code

机译:重复代码影响的实证研究

获取原文

摘要

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.
机译:据说重复代码的存在是使软件维护更加困难的因素之一。在此基础上,已经进行了许多研究工作来检测,删除或管理重复代码。但是,近年来,一些研究人员对此基础表示怀疑,并进行了实证研究以研究重复代码的存在的影响。在这项研究中,我们进行了一项实证研究,从与以前的研究不同的角度调查了此问题。在这项研究中,我们定义了一个新的指标“修改频率”来衡量重复代码的影响,并比较重复代码和非重复代码之间的值。本研究的特点如下:本研究中使用的指标基于修饰位置而不是修饰线的比例;我们使用多个重复代码检测工具来减少检测工具的偏差;并且我们将提出的方法的结果与其他两种调查方法进行了比较。结果表明,与非重复代码相比,重复代码的修改频率较低。我们发现一些实例,表明该方法可以比现有调查方法更准确地评估重复代码的影响。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号