Fault Localization Using Failure-Related Contexts for Automatic Program Repair

Ang LI
Xiaoguang MAO
Tao JI

IEICE TRANSACTIONS on Information and Systems   Vol.E98-D    No.4    pp.955-959
Publication Date: 2015/04/01
Publicized: 2015/01/08
Online ISSN: 1745-1361
DOI: 10.1587/transinf.2014EDL8189
Type of Manuscript: LETTER
Category: Software Engineering
automatic repair,  fault localization,  failure-related context,  program slicing,  suspiciousness evaluation,  

Full Text: PDF>>
Buy this Article

Fault localization is essential for conducting effective program repair. However, preliminary studies have shown that existing fault localization approaches do not take the requirements of automatic repair into account, and therefore restrict the repair performance. To address this issue, this paper presents the first study on designing fault localization approaches for automatic program repair, that is, we propose a fault localization approach using failure-related contexts in order to improve automatic program repair. The proposed approach first utilizes program slicing technique to construct a failure-related context, then evaluates the suspiciousness of each element in this context, and finally transfers the result of evaluation to automatic program repair techniques for performing repair on faulty programs. The experimental results demonstrate that the proposed approach is effective to improve automatic repair performance.