Yi, Jooyong;
Tan, Shin Hwei;
Mechtaev, Sergey;
Bohme, Marcel;
Roychoudhury, Abhik;
(2018)
A correlation study between automated program repair and test-suite metrics.
Empirical Software Engineering
, 23
(5)
, Article 5. 10.1007/s10664-017-9552-y.
Preview |
Text
emse17.pdf - Accepted Version Download (548kB) | Preview |
Abstract
Automated program repair is increasingly gaining traction, due to its potential to reduce debugging cost greatly. The feasibility of automated program repair has been shown in a number of works, and the research focus is gradually shifting toward the quality of generated patches. One promising direction is to control the quality of generated patches by controlling the quality of test-suites used for automated program repair. In this paper, we ask the following research question: “Can traditional test-suite metrics proposed for the purpose of software testing also be used for the purpose of automated program repair?” We empirically investigate whether traditional test-suite metrics such as statement/branch coverage and mutation score are effective in controlling the reliability of generated repairs (the likelihood that repairs cause regression errors). We conduct the largest-scale experiments of this kind to date with real-world software, and for the first time perform a correlation study between various test-suite metrics and the reliability of generated repairs. Our results show that in general, with the increase of traditional test suite metrics, the reliability of repairs tend to increase. In particular, such a trend is most strongly observed in statement coverage. Our results imply that the traditional test suite metrics proposed for software testing can also be used for automated program repair to improve the reliability of repairs.
Type: | Article |
---|---|
Title: | A correlation study between automated program repair and test-suite metrics |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1007/s10664-017-9552-y |
Publisher version: | https://doi.org/10.1007/s10664-017-9552-y |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | Science & Technology, Technology, Computer Science, Software Engineering, Computer Science, Automated program repair, Test suite, Empirical evaluation, Correlation, MUTATION |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10184114 |




Archive Staff Only
![]() |
View Item |