Mining Repair Actions for Guiding Automated Program Fixing

Matias Martinez 1 Martin Monperrus 1, 2
1 ADAM - Adaptive Distributed Applications and Middleware
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : Automated program fixing consists of generating source code in order to fix bugs in an automated manner. Our intuition is that automated program fixing can imitate human-based program fixing. Hence, we present a method to mine repair actions from software repositories. A repair action is a small semantic modification on code such as adding a method call. We then decorate repair actions with a probability distribution also learnt from software repositories. Our probabilistic repair models enable us to mathematically reason on the automated software repair process. By applying our method on 14 repositories of Java software and 89993 versioning transactions, we show that our probabilistic repair actions are able to guide the automated fixing process in the repair space, with a probabilistic focus on likely repair shapes first.
Type de document :
[Technical Report] hal-01080299, Inria. 2012
Liste complète des métadonnées
Contributeur : Martin Monperrus <>
Soumis le : mardi 4 novembre 2014 - 23:00:13
Dernière modification le : jeudi 11 janvier 2018 - 06:22:13
Document(s) archivé(s) le : jeudi 5 février 2015 - 11:36:16


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-01080299, version 1



Matias Martinez, Martin Monperrus. Mining Repair Actions for Guiding Automated Program Fixing. [Technical Report] hal-01080299, Inria. 2012. 〈hal-01080299〉



Consultations de la notice


Téléchargements de fichiers