2018 · 14 citations · 19 references
ComputingComputer ScienceFault-tolerant ComputingSoftware EngineeringSyntaxAbstract Syntax TreesApplication Programming InterfacesLexical AnalysisSoftware Fault ToleranceSoftware MaintenanceSyntax AnalysisAbstract Syntax Tree RepairAutomated Patch GenerationAutomated Program RepairCase Study EvaluationGranularityPatch Effectiveness AnalysisProgram RepairPython Automation
PyGGI is a lightweight Python framework that can be used to implement generic Genetic Improvement algorithms at the API level. The original version of PyGGI only provided lexical modifications, i.e., modifications of the source code at the physical line granularity level. This paper introduces new extensions to PyGGI that enables syntactic modifications for Python code, i.e., modifications that operates at the AST granularity level. Taking advantage of the new extensions, we also present a case study that compares the lexical and syntactic search granularity level for automated program repair, using ten seeded faults in a real world open source Python project. The results show that search landscapes at the AST granularity level are more effective (i.e. eventually more likely to produce plausible patches) due to the smaller sizes of ingredient spaces (i.e., the space from which we search for the material to build a patch), but may require longer time for search because the larger number of syntactically intact candidates leads to more fitness evaluations.
19
A Survey on Software Fault Localization
W. Eric Wong, Ruizhi Gao, Yihao Li et al. · IEEE Transactions on Software Engineering · 2016 · 1.1K citations
Automatically finding patches using genetic programming
Westley Weimer, ThanhVu Nguyen, Claire Le Goues et al. · 2009 · 772 citations
Sergey Mechtaev, Jooyong Yi, Abhik Roychoudhury · 2016 · 509 citations
Automatic patch generation learned from human-written patches
2013 · 457 citations