Loading…

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

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 plau...

Full description

Saved in:
Bibliographic Details
Published in:arXiv.org 2021-12
Main Authors: Ginelli, Davide, Martinez, Matias, Mariani, Leonardo, Monperrus, Martin
Format: Article
Language:English
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites
container_end_page
container_issue
container_start_page
container_title arXiv.org
container_volume
creator Ginelli, Davide
Martinez, Matias
Mariani, Leonardo
Monperrus, Martin
description 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. 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.
doi_str_mv 10.48550/arxiv.2012.06264
format article
fullrecord <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_journals_2469903541</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2469903541</sourcerecordid><originalsourceid>FETCH-LOGICAL-a521-196f747c4574759c2202a21cd3abb6d9cc4da0466dc32d324f9897d173e23c1c3</originalsourceid><addsrcrecordid>eNotjctqwzAUBUWh0JDmA7oTdG1XunrYWhrTRyDQ0GYfFOm6cYitVLJN-_c1NJszMIs5hDxwlstSKfZk40875cA45EyDljdkAULwrJQAd2SV0okxBroApcSCrCtah-4S8Yh9aiekn8Pof2loZu0xi9iFyZ7p1g7uiIm2Pa3GIXR2QE-3MXxF29EPvNg23pPbxp4Trq5ckt3L865-yzbvr-u62mRWAc-40U0hCyfVvMo4AAYWuPPCHg7aG-ekt0xq7Z0AL0A2pjSF54VAEI47sSSP_9lLDN8jpmF_CmPs58c9SG0ME0py8Qfz4kz4</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2469903541</pqid></control><display><type>article</type><title>A Comprehensive Study of Code-removal Patches in Automated Program Repair</title><source>Publicly Available Content Database</source><creator>Ginelli, Davide ; Martinez, Matias ; Mariani, Leonardo ; Monperrus, Martin</creator><creatorcontrib>Ginelli, Davide ; Martinez, Matias ; Mariani, Leonardo ; Monperrus, Martin</creatorcontrib><description>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. 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.</description><identifier>EISSN: 2331-8422</identifier><identifier>DOI: 10.48550/arxiv.2012.06264</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Automation ; Patches (structures) ; Repair ; Taxonomy</subject><ispartof>arXiv.org, 2021-12</ispartof><rights>2021. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.proquest.com/docview/2469903541?pq-origsite=primo$$EHTML$$P50$$Gproquest$$Hfree_for_read</linktohtml><link.rule.ids>780,784,25751,27923,37010,44588</link.rule.ids></links><search><creatorcontrib>Ginelli, Davide</creatorcontrib><creatorcontrib>Martinez, Matias</creatorcontrib><creatorcontrib>Mariani, Leonardo</creatorcontrib><creatorcontrib>Monperrus, Martin</creatorcontrib><title>A Comprehensive Study of Code-removal Patches in Automated Program Repair</title><title>arXiv.org</title><description>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. 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.</description><subject>Automation</subject><subject>Patches (structures)</subject><subject>Repair</subject><subject>Taxonomy</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2021</creationdate><recordtype>article</recordtype><sourceid>PIMPY</sourceid><recordid>eNotjctqwzAUBUWh0JDmA7oTdG1XunrYWhrTRyDQ0GYfFOm6cYitVLJN-_c1NJszMIs5hDxwlstSKfZk40875cA45EyDljdkAULwrJQAd2SV0okxBroApcSCrCtah-4S8Yh9aiekn8Pof2loZu0xi9iFyZ7p1g7uiIm2Pa3GIXR2QE-3MXxF29EPvNg23pPbxp4Trq5ckt3L865-yzbvr-u62mRWAc-40U0hCyfVvMo4AAYWuPPCHg7aG-ekt0xq7Z0AL0A2pjSF54VAEI47sSSP_9lLDN8jpmF_CmPs58c9SG0ME0py8Qfz4kz4</recordid><startdate>20211215</startdate><enddate>20211215</enddate><creator>Ginelli, Davide</creator><creator>Martinez, Matias</creator><creator>Mariani, Leonardo</creator><creator>Monperrus, Martin</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20211215</creationdate><title>A Comprehensive Study of Code-removal Patches in Automated Program Repair</title><author>Ginelli, Davide ; Martinez, Matias ; Mariani, Leonardo ; Monperrus, Martin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a521-196f747c4574759c2202a21cd3abb6d9cc4da0466dc32d324f9897d173e23c1c3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2021</creationdate><topic>Automation</topic><topic>Patches (structures)</topic><topic>Repair</topic><topic>Taxonomy</topic><toplevel>online_resources</toplevel><creatorcontrib>Ginelli, Davide</creatorcontrib><creatorcontrib>Martinez, Matias</creatorcontrib><creatorcontrib>Mariani, Leonardo</creatorcontrib><creatorcontrib>Monperrus, Martin</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science &amp; Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection><jtitle>arXiv.org</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Ginelli, Davide</au><au>Martinez, Matias</au><au>Mariani, Leonardo</au><au>Monperrus, Martin</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>A Comprehensive Study of Code-removal Patches in Automated Program Repair</atitle><jtitle>arXiv.org</jtitle><date>2021-12-15</date><risdate>2021</risdate><eissn>2331-8422</eissn><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. 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.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><doi>10.48550/arxiv.2012.06264</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier EISSN: 2331-8422
ispartof arXiv.org, 2021-12
issn 2331-8422
language eng
recordid cdi_proquest_journals_2469903541
source Publicly Available Content Database
subjects Automation
Patches (structures)
Repair
Taxonomy
title A Comprehensive Study of Code-removal Patches in Automated Program Repair
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-14T12%3A12%3A11IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=A%20Comprehensive%20Study%20of%20Code-removal%20Patches%20in%20Automated%20Program%20Repair&rft.jtitle=arXiv.org&rft.au=Ginelli,%20Davide&rft.date=2021-12-15&rft.eissn=2331-8422&rft_id=info:doi/10.48550/arxiv.2012.06264&rft_dat=%3Cproquest%3E2469903541%3C/proquest%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-a521-196f747c4574759c2202a21cd3abb6d9cc4da0466dc32d324f9897d173e23c1c3%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2469903541&rft_id=info:pmid/&rfr_iscdi=true