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.

Ginelli, D., Riganelli, O., Micucci, D., Mariani, L. (2021). Exception-Driven Fault Localization for Automated Program Repair. In 21st IEEE International Conference on Software Quality, Reliability and Security (QRS) (pp.598-607) [10.1109/QRS54544.2021.00070].

Exception-Driven Fault Localization for Automated Program Repair

Ginelli, Davide;Riganelli, Oliviero;Micucci, Daniela;Mariani, Leonardo
2021

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.
paper
automatic program repair; exceptions; fault localization; SBFL;
English
21st International Conference on Software Quality, Reliability and Security, QRS 2021 - 6 December 2021 through 10 December 2021
2021
21st IEEE International Conference on Software Quality, Reliability and Security (QRS)
9781665458139
2021
2021-December
598
607
none
Ginelli, D., Riganelli, O., Micucci, D., Mariani, L. (2021). Exception-Driven Fault Localization for Automated Program Repair. In 21st IEEE International Conference on Software Quality, Reliability and Security (QRS) (pp.598-607) [10.1109/QRS54544.2021.00070].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/362136
Citazioni
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 1
Social impact