PofoliaDaily literature tracker

2019

TBar: revisiting template-based automated program repair

Kui Liu, Anil Koyuncu, Dongsun Kim, Tegawendé F. Bissyandé

Short summary

TBar, a new automated program repair tool, correctly fixes 43 out of 101 bugs in the Defects4J benchmark, an unprecedented performance for template-based approaches.

AI-generated from the title and abstract; the full text is not read.

Key points

  • TBar is a new automated program repair tool that systematically applies fix patterns.
  • It was evaluated on the Defects4J benchmark, a standard for assessing APR tools.
  • TBar correctly fixed 43 out of 101 bugs, outperforming existing methods.
  • With perfect fault localization, TBar could fix 74 bugs.

AI-generated from the title and abstract; the full text is not read.

Abstract

We revisit the performance of template-based APR to build comprehensive knowledge about the effectiveness of fix patterns, and to highlight the importance of complementary steps such as fault localization or donor code retrieval. To that end, we first investigate the literature to collect, summarize and label recurrently-used fix patterns. Based on the investigation, we build TBar, a straightforward APR tool that systematically attempts to apply these fix patterns to program bugs. We thoroughly evaluate TBar on the Defects4J benchmark. In particular, we assess the actual qualitative and quantitative diversity of fix patterns, as well as their effectiveness in yielding plausible or correct patches. Eventually, we find that, assuming a perfect fault localization, TBar correctly/plausibly fixes 74/101 bugs. Replicating a standard and practical pipeline of APR assessment, we demonstrate that TBar correctly fixes 43 bugs from Defects4J, an unprecedented performance in the literature (including all approaches, i.e., template-based, stochastic mutation-based or synthesis-based APR).

The authors' abstract, as published at the source. 2019 · DOI ↗

TakeawaysPremium Ask the paperFree account

Continue with a free account

Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.

Continue free on the web

Sign in with Google or Apple; no card needed. You come back to this paper.

On your phone:

Field: Software

SoftwareComputer Science