English

Exception-Driven Fault Localization for Automated Program Repair

Software Engineering 2022-01-04 v1

Abstract

Automated Program Repair (APR) techniques typically exploit spectrum-based fault localization (SBFL) to identify the program locations that should be patched, making the effectiveness of APR techniques dependent on the effectiveness of fault localization. Indeed, results show that SBFL often does not localize faults accurately, hindering the effectiveness of APR. In this paper, we propose EXCEPT, a technique that addresses the localization problem by focusing on the semantics of failures rather than on the correlation between the executed statements and the failed tests, as SBFL does. We focus on failures due to exceptions and we exploit their type and source to localize and guess the faults. Experiments with 43 exception-raising faults from the Defects4J benchmark show that EXCEPT can perform better than Ochiai and ssFix.

Keywords

Cite

@article{arxiv.2201.00736,
  title  = {Exception-Driven Fault Localization for Automated Program Repair},
  author = {Davide Ginelli and Oliviero Riganelli and Daniela Micucci and Leonardo Mariani},
  journal= {arXiv preprint arXiv:2201.00736},
  year   = {2022}
}

Comments

In Proc. of the IEEE International Conference on Software Quality, Reliability and Security (QRS 2021). For associated video presentation, see https://youtu.be/PulKnHk-kp4

R2 v1 2026-06-24T08:38:49.565Z