2010 · 12 citations · 29 references
ComputingComputer ScienceKnowledge RepresentationSoftware EngineeringSystems ProgrammingData-flow AnalysisSoftware MaintenanceStatic Code AnalysisAutomated Bug FindingBug FixingBug LocalizationBug Pattern DetectionBug TrackingDependence RelationsEfficiencySubgraph Extraction
We present a powerful and efficient approach to the problem of propagating a bug fix to all the locations in a code base to which it applies. Our approach represents bug and fix patterns as subgraphs of a system dependence graph, and it employs a fast, index-based subgraph matching algorithm to discover unfixed bug-pattern instances remaining in a code base. We have also developed a graphical tool to help programmers specify bug patterns and fix patterns easily. We evaluated our approach by applying it to bug fixes in four large open-source projects. The results indicate that the approach exhibits good recall and precision and excellent efficiency.
29
Clone detection using abstract syntax trees
Ira D. Baxter, A. Yahin, Leonardo de Moura et al. · 2002 · 1.3K citations
Jacek Śliwerski, Thomas Zimmermann, Andreas Zeller · ACM SIGSOFT Software Engineering Notes · 2005 · 803 citations