2018 · 75 citations · 61 references
ComputingComputer ScienceInformation RetrievalProgramming LanguagesSoftware EngineeringDefect DetectionSoftware MaintenanceStatic Code AnalysisAutomated Program RepairBug FixingGranularityMutationProgram RepairSearch Space Representation
Automated program repair (APR) has extensively been developed by leveraging search-based techniques, in which fix ingredients are explored and identified in different granularities from a specific search space. State-of-the approaches often find fix ingredients by using mutation operators or leveraging manually-crafted templates. We argue that the fix ingredients can be searched in an online mode, leveraging code search techniques to find potentially-fixed versions of buggy code fragments from which repair actions can be extracted. In this study, we present an APR tool, LSRepair, that automatically explores code repositories to search for fix ingredients at the method-level granularity with three strategies of similar code search. Our preliminary evaluation shows that code search can drive a faster fix process (some bugs are fixed in a few seconds). LSRepair helps repair 19 bugs from the Defects4J benchmark successfully. We expect our approach to open new directions for fixing multiple-lines bugs.
61
Automatically finding patches using genetic programming
Westley Weimer, ThanhVu Nguyen, Claire Le Goues et al. · 2009 · 772 citations
The promises and perils of mining GitHub
Eirini Kalliamvakou, Georgios Gousios, Kelly Blincoe et al. · 2014 · 755 citations