2015/07/21 by Bissyandé, Tegawendé F.
#FOS: Computer and information sciences #Software Engineering (cs.SE)
paper · doi:10.48550/arxiv.1507.05742
In software development, fixing bugs is an important task that is time consuming and cost-sensitive. While many approaches have been proposed to automatically detect and patch software code, the strategies are limited to a set of identified bugs that were thoroughly studied to define their properties. They thus manage to cover a niche of faults such as infinite loops. We build on the assumption that bugs, and the associated user bug reports, are repetitive and propose a new approach of fix recommendations based on the history of bugs and their associated fixes. In our approach, once a bug is reported, it is automatically compared to all previously fixed bugs using information retrieval techniques and machine learning classification. Based on this comparison, we recommend top-\em k fix actions, identified from past fix examples, that may be suitable as hints for software developers to address the new bug.