relifix: Automated Repair of Software Regressions
Authors:
- Shin Hwei TanSTShin Hwei Tan
- Abhik RoychoudhuryARAbhik Roychoudhury
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 1 (02705257) , 471-482
Abstract
Regression occurs when code changes introduce failures in previously passing test cases. As software evolves, regressions may be introduced. Fixing regression errors manually is time-consuming and error-prone. We propose an approach of automated repair of software regressions, called relifix, that considers the regression repair problem as a problem of reconciling problematic changes. Specifically, we derive a set of code transformations obtained from our manual inspection of 73 real software regressions; this set of code transformations uses syntactical information from changed statements. Regression repair is then accomplished via a search over the code transformation operators - which operator to apply, and where. Our evaluation compares the repairability of relifix with GenProg on 35 real regression errors. relifix repairs 23 bugs, while GenProg only fixes five bugs. We also measure the likelihood of both approaches in introducing new regressions given a reduced test suite. Our experimental results shows that our approach is less likely to introduce new regressions than GenProg.Keywords
This publication has 32 references indexed in Scilit:
- Automatically Extracting Instances of Code Change Patterns with AST Analysis2013
- Automatic patch generation learned from human-written patches2013
- R2Fix: Automatically Generating Bug Fixes from Bug Reports2013
- A systematic study of automated program repair: Fixing 55 out of 105 bugs for $8 each2012
- GenProg: A Generic Method for Automatic Software RepairIEEE Transactions on Software Engineering, 2011
- Golden implementation driven software debugging2010
- Generating Fixes from Object Behavior Anomalies2009
- A genetic programming approach to automated software repair2009
- BugFix: A learning-based tool to assist developers in fixing bugs2009
- Supporting Controlled Experimentation with Testing Techniques: An Infrastructure and its Potential ImpactEmpirical Software Engineering, 2005