A Comprehensive Study of Code-removal Patches in Automated Program Repair

Davide Ginelli, Matias Martinez, Leonardo Mariani, Martin Monperrus
12/11/2020
11 citations
cs.SE

Official code: repairnator/open-science-repairnator (4 stars, HTML, last commit 2022-08-15).

Abstract

Automatic Program Repair (APR) techniques can promisingly help reducing the cost of debugging. Many relevant APR techniques follow the generate-and-validate approach, that is, the faulty program is iteratively modified with different change operators and then validated with a test suite until a plausible patch is generated.

Show full abstract

In particular, Kali is a generate-and-validate technique developed to investigate the possibility of generating plausible patches by only removing code. Former studies show that indeed Kali successfully addressed several faults. This paper addresses the case of code-removal patches in automated program repair investigating the reasons and the scenarios that make their creation possible, and the relationship with patches implemented by developers. Our study reveals that code-removal patches are often insufficient to fix bugs, and proposes a comprehensive taxonomy of code-removal patches that provides evidence of the problems that may affect test suites, opening new opportunities for researchers in the field of automatic program repair.

View on arXivView PDF

Code Implementations(1)

Open science data of the Repairnator project

43HTML, JavaFeb 7, 20184 years ago
kthopen-scienceprogram-repair

Similar Papers

Cite this paper

@article{ginelli2020comprehensive,
  title  = {A Comprehensive Study of Code-removal Patches in Automated Program Repair},
  author = {Davide Ginelli and Matias Martinez and Leonardo Mariani and Martin Monperrus},
  year   = {2020},
  eprint = {2012.06264},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.06264}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.06264.svg)](https://codeofpaper.com/paper/2012.06264)

Discussion