13th Working Conference on Reverse Engineering (WCRE 2006) Clone Detection Using Abstract Syntax Suffix Trees Benevento, Italy October 23-October 27 ISBN: 0-7695-2719-1
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/WCRE.2006.18
Reusing software through copying and pasting is a continuous plague in software development despite the fact that it creates serious maintenance problems. Various techniques have been proposed to find duplicated redundant code (also known as software clones). A recent study has compared these techniques and shown that token-based clone detection based on suffix trees is extremely fast but yields clone candidates that are often no syntactic units. Current techniques based on abstract syntax trees--on the other hand--find syntactic clones but are considerably less efficient. This paper describes how we can make use of suffix trees to find clones in abstract syntax trees. This new approach is able to find syntactic clones in linear time and space. The paper reports the results of several large case studies in which we empirically compare the new technique to other techniques using the Bellon benchmark for clone detectors.
Citation:
Rainer Koschke, Raimar Falke, Pierre Frenzel, "Clone Detection Using Abstract Syntax Suffix Trees," wcre, pp.253-262, 13th Working Conference on Reverse Engineering (WCRE 2006), 2006 Usage of this product signifies your acceptance of the Terms of Use. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||