arrow
Return

Contract-Based Program Repair Without The Contracts: An Extended Study

delete2021-12-01
delete16
delete
OA
AI
L
Liushan Chen
Y
Yu Pei *
C
Carlo A. Furia
DOI:10.1109/TSE.2020.2970009delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Most techniques for automated program repair (APR) use tests to drive the repair process; this makes them prone to generating spurious repairs that overfit the available tests unless additional information about expected program behavior is available. Our previous work on Jaid, an APR technique for Java programs, showed that constructing detailed state abstractions-similar to those employed by techniques for programs with contracts-from plain Java code without any special annotations provides valuable additional information, and hence helps mitigate the overfitting problem. This paper extends the work on Jaid with a comprehensive experimental evaluation involving 693 bugs in three different benchmark suites. The evaluation shows, among other things, that: 1) Jaid is effective: it produced correct fixes for over 15 percent of all bugs, with a precision of nearly 60 percent; 2) Jaid is reasonably efficient: on average, it took less than 30 minutes to output a correct fix; 3) Jaid is competitive with the state of the art, as it fixed more bugs than any other technique, and 11 bugs that no other tool can fix; 4) Jaid is robust: its heuristics are complementary and their effectiveness does not depend on the fine-tuning of parameters. The experimental results also indicate the main trade-offs involved in designing an APR technique based on tests, as well as possible directions for further progress in this line of work.
Keywords:
Maintenance engineering
Computer bugs
Tools
Java
Monitoring
Contracts
Programming
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.9K
Citations:
1.1W

Organization

U
Universita della Svizzera Italiana
Scholars:
3.3K
Papers: 2.8K
Citations: 3
H
hong kong polytechnic university
Scholars:
3.0W
Papers: 4.1W
Citations: 921
Cited Papers

Cited Papers

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
errShare
errSave
The DStar Method for Effective Software Fault Localization
err2014-03-01
err327
PREAI
errWong, W. Eric; Debroy, Vidroha; Gao, Ruizhi; Li, Yihao
errShare
errSave
A Survey on Software Fault Localization
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
errShare
errSave
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
errShare
errSave
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
errShare
errSave
Ebola virus sequencing protocol v1
err
IF0
err2019-09-25
err0
errOAAI
errJosh Quick
errShare
errSave
errShare
errSave
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
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
A practical evaluation of spectrum-based fault localization
err2009-11-01
err380
PREAI
errAbreu, Rui; Zoeteweij, Peter; Golsteijn, Rob; van Gemund, Arjan J. C.
errShare
errSave
researcher View more