【24h】

An Empirical Study of Clone Removals

机译:克隆去除的实证研究

获取原文

摘要

It is often claimed that duplicated source code is a threat to the maintainability of a software system and that developers should manage code duplication. A previous study analyzed the evolution of four software systems and found a remarkable discrepancy between code clones detected by a state-of-the-art clone detector and those deliberately removed by developers as the scope of the clones hardly ever matched. However, the results are based on a relatively small amount of data and need to be validated by a more extensive analysis. In this paper, we present an extension of this study by analyzing deliberate as well as accidental removals of code duplication in the evolution of eleven systems. Based on our findings, we could confirm the results of the previous study. Beyond that we found that accidental removals of cloned code occur slightly more often than deliberate removals and that many clone removals were in fact incomplete.
机译:通常声称,重复的源代码是对软件系统可维护性的威胁,并且开发人员应该管理代码复制。先前的研究分析了四种软件系统的演变,发现由最先进的克隆探测器检测到的代码克隆之间的显着差异,并且由于克隆的范围几乎没有匹配,那么开发人员故意删除的那些。但是,结果基于相对较少的数据,并且需要通过更广泛的分析来验证。在本文中,我们通过分析蓄意以及十一系统演进中的代码重复的偶然去除来展示该研究的延伸。根据我们的调查结果,我们可以确认前一项研究的结果。除此之外,我们发现克隆代码的偶然删除略微发生,而不是故意的去除,并且许多克隆除去实际上是不完整的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号