Proceedings of the Spring/Summer young researchers' colloquium on software engineering · 2008 · 53 citations · 8 references
ComputingComputer ScienceAlgorithmsProgramming LanguagesSoftware EngineeringAbstract Syntax TreesData-flow AnalysisSyntax AnalysisAbstract Syntax Tree AnalysisClone DetectionCode Clone DetectionSource Code Cloning
This paper describes a new algorithm for finding software clones. It is conceptually independent of the source language of the analyzed programs, working at the level of abstract syntax trees. The algorithm considers that two sequences of statements form a clone if one of them can be obtained from the other by replacing some subtrees. To our knowledge this notion was not previously employed in the literature. It allows to take into account all information on the syntactic structure of a program. We have implemented this algorithm in the tool Clone Digger. It currently supports the Python and Java languages.
8
Clone detection using abstract syntax trees
Ira D. Baxter, A. Yahin, Leonardo de Moura et al. · 2002 · 1.3K citations
Comparison and Evaluation of Clone Detection Tools
Stefan Bellon, Rainer Koschke, Giulio Antoniol et al. · IEEE Transactions on Software Engineering · 2007 · 779 citations
A survey on tree edit distance and related problems
Philip Bille · Theoretical Computer Science · 2005 · 753 citations
A Survey on Software Clone Detection Research
Chanchal K. Roy, James R. Cordy · 2007 · 711 citations