Skip to Main content Skip to Navigation
Reports

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.
Document type :
Reports
Complete list of metadata

https://hal.inria.fr/hal-01080299
Contributor : Martin Monperrus <>
Submitted on : Tuesday, November 4, 2014 - 11:00:13 PM
Last modification on : Thursday, December 3, 2020 - 6:24:02 PM
Long-term archiving on: : Thursday, February 5, 2015 - 11:36:16 AM

Files

repair-actions.pdf
Files produced by the author(s)

Identifiers

  • 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⟩

Share

Metrics

Record views

396

Files downloads

295