首页> 外文期刊>Empirical Software Engineering >Automatic repair of real bugs in java: a large-scale experiment on the defects4j dataset
【24h】

Automatic repair of real bugs in java: a large-scale experiment on the defects4j dataset

机译:自动修复Java中的真实错误:对errors4j数据集的大规模实验

获取原文
获取原文并翻译 | 示例
           

摘要

Defects4J is a large, peer-reviewed, structured dataset of real-world Java bugs. Each bug in Defects4J comes with a test suite and at least one failing test case that triggers the bug. In this paper, we report on an experiment to explore the effectiveness of automatic test-suite based repair on Defects4J. The result of our experiment shows that the considered state-of-the-art repair methods can generate patches for 47 out of 224 bugs. However, those patches are only test-suite adequate, which means that they pass the test suite and may potentially be incorrect beyond the test-suite satisfaction correctness criterion. We have manually analyzed 84 different patches to assess their real correctness. In total, 9 real Java bugs can be correctly repaired with test-suite based repair. This analysis shows that test-suite based repair suffers from under-specified bugs, for which trivial or incorrect patches still pass the test suite. With respect to practical applicability, it takes on average 14.8 minutes to find a patch. The experiment was done on a scientific grid, totaling 17.6 days of computation time. All the repair systems and experimental results are publicly available on Github in order to facilitate future research on automatic repair.
机译:Defects4J是一个大型的,经过同行评审的,结构化的真实Java错误数据集。 Defects4J中的每个错误都带有一个测试套件和至少一个触发该错误的失败测试用例。在本文中,我们报告了一项实验,以探索基于自动测试套件的Defects4J修复的有效性。我们的实验结果表明,考虑到的最新修复方法可以为224个错误中的47个生成补丁。但是,这些补丁仅适合测试套件,这意味着它们已通过测试套件,并且可能超出测试套件满意度正确性标准而可能不正确。我们已经手动分析了84个不同的补丁程序,以评估它们的真实正确性。通过基于测试套件的修复,总共可以正确修复9个真正的Java错误。该分析表明,基于测试套件的修复遭受了未指定的错误,对于这些错误而言,微不足道或不正确的补丁仍然可以通过测试套件。关于实际适用性,平均需要14.8分钟才能找到补丁。实验是在科学的网格上完成的,总共需要17.6天的计算时间。所有维修系统和实验结果均可在Github上公开获得,以便于将来进行自动维修研究。

著录项

  • 来源
    《Empirical Software Engineering》 |2017年第4期|1936-1964|共29页
  • 作者单位

    Univ Valenciennes, Campus Mont Houy, F-59313 Valenciennes, France;

    Univ Lille, Spirals Team, 40 Ave Halley, F-59650 Villeneuve Dascq, France|INRIA, 40 Ave Halley, F-59650 Villeneuve Dascq, France;

    Univ Lille, Spirals Team, 40 Ave Halley, F-59650 Villeneuve Dascq, France|INRIA, 40 Ave Halley, F-59650 Villeneuve Dascq, France;

    Wuhan Univ, State Key Lab Software Engn, 299 Bayi Rd, Wuhan 430072, Hubei, Peoples R China;

    Univ Lille, Spirals Team, 40 Ave Halley, F-59650 Villeneuve Dascq, France|INRIA, 40 Ave Halley, F-59650 Villeneuve Dascq, France;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Software repair; Bugs; Defects; Patches; Fixes;

    机译:软件修复;错误;缺陷;补丁;修复;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号