pith. sign in

arxiv: 1505.07002 · v2 · pith:RNYB5MYEnew · submitted 2015-05-26 · 💻 cs.SE

Automatic Repair of Real Bugs: An Experience Report on the Defects4J Dataset

classification 💻 cs.SE
keywords repairbugsdefects4jautomaticdatasetexperimentjavareal
0
0 comments X
read the original abstract

Defects4J is a large, peer-reviewed, structured dataset of real-world Java bugs. Each bug in Defects4J is provided 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 repair on Defects4J. The result of our experiment shows that 47 bugs of the Defects4J dataset can be automatically repaired by state-of- the-art repair. This sets a baseline for future research on automatic repair for Java. We have manually analyzed 84 different patches to assess their real correctness. In total, 9 real Java bugs can be correctly fixed with test-suite based repair. This analysis shows that test-suite based repair suffers from under-specified bugs, for which trivial and incorrect patches still pass the test suite. With respect to practical applicability, it takes in average 14.8 minutes to find a patch. The experiment was done on a scientific grid, totaling 17.6 days of computation time. All their systems and experimental results are publicly available on Github in order to facilitate future research on automatic repair.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Harnessing Evolution for Multi-Hunk Program Repair

    cs.SE 2019-06 conditional novelty 7.0

    Hercules identifies evolutionary siblings via spectrum, similarity, and history analysis to apply coordinated patches, fixing 49 Defects4J bugs including 15 multi-hunk cases.