arrow
返回

Automatic patch generation with context-based change application

delete2019-07-15
delete26
PRE
AI
J
Jindae Kim *
S
Sung Hun Kim
DOI:10.1007/s10664-019-09742-5delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Automatic patch generation is often described as a search problem of patch candidate space, and it has two major issues: one is search space size, and the other is navigation. An effective patch generation technique should have a large search space with a high probability that patches for bugs are included, and it also needs to locate such patches effectively. We introduce ConFix, an automatic patch generation technique using context-based change application. ConFix collects abstract AST changes from human-written patches with their AST contexts to provide abundant resources for patch generation. These collected changes are only applied to possible fix locations with the same contexts for patch generation. By considering changes with a matching context only, ConFix selects a necessary change for a possible fix location more effectively than considering all the collected changes. Also, ConFix filters out fix locations with no collected changes in the same context, which means that such locations have not been modified in human-written patches, hence they are not desirable for modifications. We evaluated ConFix with 357 real bugs from Defects4j dataset. ConFix successfully fixed 22 bugs including six bugs which were not fixed by compared existing techniques. With context-based strategy, ConFix checked on average 48% less fix locations than a strategy using only a spectrum-based fault localization technique until patches were generated. Also, it ranked changes required for patches at the top for 63.6%, and within top-3 for 81.8% of the fixed bugs.
Keyword:
Automatic program repair
Automatic patch generation
Context-based change application
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Alleviating patch overfitting with automatic test generation: a study of feasibility and effectiveness for the Nopol repair system
err2018-05-12
err44
errOAAI
errYu, Zhongxing; Martinez, Matias; Danglot, Benjamin; Durieux, Thomas; Monperrus, Martin
err分享
err收藏
Automated patch assessment for program repair at scale
err2021-02-23
err47
errOAAI
errYe, He; Martinez, Matias; Monperrus, Martin
err分享
err收藏
Test-based patch clustering for automatically-generated patches assessment
err2024-07-24
err1
errOAAI
errMartinez, Matias; Kechagia, Maria; Perera, Anjana; Petke, Justyna; Sarro, Federica; Aleti, Aldeida
err分享
err收藏
Sorald: Automatic Patch Suggestions for SonarQube Static Analysis ViolationsSorald: SonarQube静态分析违例的自动补丁建议
err2023-07-01
err4
errOAAI
errEtemadi, Khashayar; Harrand, Nicolas; Larsen, Simon; Adzemovic, Haris; Phu, Henry Luong; Verma, Ashutosh; Madeiral, Fernanda; Wikstrom, Douglas; Monperrus, Martin
err分享
err收藏
A comprehensive study of automatic program repair on the QuixBugs benchmark
err2021-01-01
err38
errOAAI
errYe, He; Martinez, Matias; Durieux, Thomas; Monperrus, Martin
err分享
err收藏
Nopol: Automatic Repair of Conditional Statement Bugs in Java Programs
err2017-01-01
err295
errOAAI
errXuan, Jifeng; Martinez, Matias; DeMarco, Favio; Clement, Maxime; Lamelas Marcote, Sebastian; Durieux, Thomas; Le Berre, Daniel; Monperrus, Martin
err分享
err收藏
A comprehensive study of code-removal patches in automated program repair
err2022-05-05
err3
errOAAI
errGinelli, Davide; Martinez, Matias; Mariani, Leonardo; Monperrus, Martin
err分享
err收藏

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
6.4K

机构

暂无机构信息
引用论文

引用论文

Balanocarpol, a new polyphenol from Balanocarpus zeylanicus(trimen) and Hopea jucunda(Thw.)(Dipterocarpaceae)
err1985-01-01
err0
PREAI
errM. N. Champika Diyasena; Subramaniam Sotheeswaran; Sivagnanasunderam Surendrakumar; Sinnathamby Balasubramanian; Michael Bokel; Wolfgang Kraus
err分享
err收藏
A molecular concept of the properdin pathway.
err1976-02-01
err0
errOAAI
errR G Medicus; R D Schreiber; O Götze; H J Müller-Eberhard
err分享
err收藏
Structure and function of negative-strand RNA virus polymerase complexes
err2021-01-01
err0
PREAI
errJesse D. Pyle; Sean P.J. Whelan; Louis-Marie Bloyet
err分享
err收藏
Ultra-low-temperature cooling of two-dimensional electron gas
err2000-05-01
err0
PREAI
errJ.S Xia; E.D Adams; V Shvarts; W Pan; H.L Stormer; D.C Tsui
err分享
err收藏
Ebola virus sequencing protocol v1
err
IF0
err2019-09-25
err0
errOAAI
errJosh Quick
err分享
err收藏
Chapter Twenty‐Eight Qualitative and Quantitative Characterization of Autophagy in Caenorhabditis elegans by Electron Microscopy
err2008-01-01
err0
PREAI
errTimea Sigmond; Judit Fehér; Attila Baksa; Gabriella Pásti; Zsolt Pálfia; Krisztina Takács‐Vellai; János Kovács; Tibor Vellai; Attila L. Kovács
err分享
err收藏
学者 查看更多内容