DocumentCode :
2208853
Title :
Scalable and incremental clone detection for evolving software
Author :
Nguyen, Tung Thanh ; Nguyen, Hoan Anh ; Al-Kofahi, Jafar M. ; Pham, Nam H. ; Nguyen, Tien N.
Author_Institution :
Iowa State Univ., Ames, IA, USA
fYear :
2009
fDate :
20-26 Sept. 2009
Firstpage :
491
Lastpage :
494
Abstract :
Code clone management has been shown to have several benefits for software developers. When source code evolves, clone management requires a mechanism to efficiently and incrementally detect code clones in the new revision. This paper introduces an incremental clone detection tool, called ClemanX. Our tool represents code fragments as subtrees of abstract syntax trees (ASTs), measures their similarity levels based on their characteristic vectors of structural features, and solves the task of incrementally detecting similar code as an incremental distance based clustering problem. Our empirical evaluation on large-scale software projects shows the usefulness and good performance of ClemanX.
Keywords :
computer aided software engineering; ClemanX clone detection tool; abstract syntax trees; code clone management; distance based clustering problem; evolving software; incremental clone detection; large-scale software project; source code evolution; structural feature characteristic vector; Cloning; Feature extraction; Large-scale systems; Project management; Software development management; Software performance;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2009. ICSM 2009. IEEE International Conference on
Conference_Location :
Edmonton, AB
ISSN :
1063-6773
Print_ISBN :
978-1-4244-4897-5
Electronic_ISBN :
1063-6773
Type :
conf
DOI :
10.1109/ICSM.2009.5306283
Filename :
5306283
Link To Document :
بازگشت