首页> 外文会议>IEEE International Conference on Software Maintenance >Efficient Automated Program Repair through Fault-Recorded Testing Prioritization
【24h】

Efficient Automated Program Repair through Fault-Recorded Testing Prioritization

机译:通过故障录制的测试优先级高效的自动化程序维修

获取原文

摘要

Most techniques for automated program repair use test cases to validate the effectiveness of the produced patches. The validation process can be time-consuming especially when the object programs ship with either lots of test cases or some long-running test cases. To alleviate the cost for testing, we first introduce regression test prioritization insight into the area of automated program repair, and present a novel prioritization technique called FRTP with the goal of reducing the number of test case executions in the repair process. Unlike most existing prioritization techniques frequently requiring additional cost for gathering previous test executions information, FRTP iteratively extracts that information just from the repair process, and thus incurs trivial performance lose. We also built a tool called TrpAutoRepair, which implements our FRTP technique and has the ability of automatically repairing C programs. To evaluate TrpAutoRepair, we compared it with GenProg, a state-of-the-art tool for automated C program repair. The experiment on the 5 subject programs with 16 real-life bugs provides evidence that TrpAutoRepair performs at least as good as GenProg in term of success rate, in most cases (15/16); TrpAutoRepair can significantly improve the repair efficiency by reducing efficiently the test case executions when searching a valid patch in the repair process.
机译:大多数自动化程序维修技术使用测试用例来验证所产生的补丁的有效性。验证过程可能是耗时的,尤其是当对象程序以许多测试用例或一些长时间运行的测试用例送货时。为了缓解测试成本,我们首先引入回归测试优先级探讨了自动化程序修复领域,并提出了一种名为FRTP的新颖优先级技术,其目标是减少修复过程中的测试用例执行的数量。与大多数现有的优先级化技术不同,经常需要收集以前的测试执行信息的额外成本,FRTP迭代地从修复过程中提取该信息,从而引发琐碎的性能丢失。我们还建立了一个名为TRPAUTOREPAIR的工具,实现了我们的FRTP技术,具有自动修复C程序的能力。为了评估TRPAUTOREPAIR,我们将其与Genprog进行比较,是自动化C程序维修的最先进的工具。在大多数情况下,在大多数情况下,TRPAUTOREPAIR的证据表明,在大多数情况下在在修复过程中搜索有效补丁时,TRPAUTOREPAIR可以通过有效地降低测试案例执行来显着提高修复效率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号