...
首页> 外文期刊>Electronic Communications of the EASST >Revealing Missing Bug-Fixes in Code Clones in Large-Scale Code Bases
【24h】

Revealing Missing Bug-Fixes in Code Clones in Large-Scale Code Bases

机译:揭示大型代码库中代码克隆中缺少的错误修复

获取原文

摘要

When a bug is fixed in duplicated code, it is often necessary to modify all duplicates (so-called clones) accordingly.In practice, however, fixes are often incomplete, which causes the bug to remain in one or more of the clones.This paper presents an approach that detects such incomplete bug-fixes in cloned code by analyzing a system's version history to reveal those commits that fix problems.The approach then performs incremental clone detection to reveal those clones that became inconsistent as a result of such a fix.We present results from a case study that analyzed incomplete bug-fixes in six industrial and open-source systems to demonstrate the feasibility and defectiveness of our approach.We identified likely incomplete bug-fixes in all analyzed systems.
机译:使用重复代码修复错误后,通常需要相应地修改所有重复项(所谓的克隆),但实际上修复通常是不完整的,这会导致错误保留在一个或多个克隆中。这篇论文提出了一种通过分析系统的版本历史记录来发现克隆代码中不完整的错误修复程序的方法,以揭示那些修复了问题的提交,然后该方法执行增量克隆检测以发现由于修复程序而变得不一致的克隆。我们提供了一个案例研究的结果,该案例分析了六个工业和开源系统中不完整的错误修复,以证明我们方法的可行性和缺陷性。我们确定了所有分析系统中可能不完整的错误修复。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号