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 :
Rapport
[Technical Report] hal-01080299, Inria. 2012
Liste complète des métadonnées

https://hal.inria.fr/hal-01080299
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

repair-actions.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01080299, version 1

Collections

Citation

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

Partager

Métriques

Consultations de la notice

227

Téléchargements de fichiers

189