2022 · 22 citations · 64 references
ComputingComputer EngineeringComputer ScienceDesign AutomationProgramming LanguagesSoftware EngineeringAbstract Syntax TreesData-flow AnalysisSoftware DesignSoftware MaintenanceSoftware TestingAutomated Bug FindingAutomated Program RepairDebuggingProgram RepairTransplantation
Automated program repair (APR) holds the promise of aiding manual debugging activities. Over a decade of evolution, a broad range of APR techniques have been proposed and evaluated on a set of real-world bug datasets. However, while more and more bugs have been correctly fixed, we observe that the growth of newly fixed bugs by APR techniques has hit a bottleneck in recent years. In this work, we explore the possibility of addressing complicated bugs by proposing TransplantFix, a novel APR technique that leverages graph differencing-based transplantation from the donor method. The key novelty of TransplantFix lies in three aspects: 1) we propose to use a graph-based differencing algorithm to distill semantic fix actions from the donor method; 2) we devise an inheritance-hierarchy-aware code search approach to identify donor methods with similar functionality; 3) we present a namespace transfer approach to effectively adapt donor code.
64
Raja Vallée-Rai, Phong Co, Étienne Gagnon et al. · 2010 · 939 citations
Automatically finding patches using genetic programming
Westley Weimer, ThanhVu Nguyen, Claire Le Goues et al. · 2009 · 772 citations
Frances Allen · ACM SIGPLAN Notices · 1970 · 720 citations