首页> 外文会议>Asia-Pacific Software Engineering Conference >Toward Developer-like Automated Program Repair — Modification Comparisons between GenProg and Developers
【24h】

Toward Developer-like Automated Program Repair — Modification Comparisons between GenProg and Developers

机译:面向开发人员的自动程序修复-GenProg与开发人员之间的修改比较

获取原文

摘要

Automated program repair is a way to reduce costs on program debuggingto a large extent. Repair techniques using genetic programming havebeen attracting much attention. They were applied to actual softwaresystems and they were able to fix several dozen of actual faults. However, programs generated by such techniques often include some sourcecode changes not related to fixing a given fault even if they pass allgiven test cases. Furthermore, some researchers found that suchtechniques occasionally induce new faults which are not covered byexisting test cases. The reason why those problems arise is that suchtechniques consider only given test cases. On the other hand, developers consider program behaviors not covered by test cases. Thus, those problems arise less frequently in programs modified by developers. Consequently, the authors suppose that if we make automated programmodifications close to developers' ones, we may be able to relieve thoseproblems. At this moment, there is no research study investigatingdifferences between automated modifications and developers' ones. Inthis paper, we compare GenProg's modifications with developers'ones for the same faults. As a result, we found that developers tend to(1) change more different functions, (2) change control flows in sourcecode, and (3) add/delete more code lines.
机译:程序自动修复是在很大程度上减少程序调试成本的一种方法。使用基因编程的修复技术已经引起了广泛的关注。它们被应用于实际的软件系统,并且能够修复数十个实际故障。但是,通过这种技术生成的程序即使通过了所有给定的测试用例,也往往会包含一些与修复给定错误无关的源代码更改。此外,一些研究人员发现,此类技术有时会引发新的故障,而现有的测试用例并未涵盖这些新的故障。出现这些问题的原因是,此类技术仅考虑给定的测试用例。另一方面,开发人员会考虑测试用例未涵盖的程序行为。因此,这些问题在开发人员修改的程序中出现的频率降低。因此,作者认为,如果我们使自动程序修改与开发人员的程序修改接近,我们也许可以缓解这些问题。目前,还没有研究调查自动修改与开发人员的修改之间的差异。在本文中,我们将针对相同故障的GenProg修改与开发人员的修改进行了比较。结果,我们发现开发人员倾向于(1)更改更多不同的功能,(2)更改源代码中的控制流,以及(3)添加/删除更多代码行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号