DocumentCode
2674520
Title
A Tree Kernel based approach for clone detection
Author
Corazza, Anna ; Di Martino, Sergio ; Maggio, Valerio ; Scanniello, Giuseppe
Author_Institution
Dipt. di Sci. Fisiche, Univ. of Naples Federico II, Naples, Italy
fYear
2010
fDate
12-18 Sept. 2010
Firstpage
1
Lastpage
5
Abstract
Reusing software by copying and pasting is a common practice in software development. This phenomenon is widely known as code cloning. Problems with clones are mainly due to the need of managing each duplication, thus increasing the effort to maintain software systems. Clone detection approaches generally take into account either the syntactic structure (e.g., Abstract Syntax Tree) or lexical elements (e.g., the signature of a function). In this paper we propose an approach to detect code clones, based on syntactic information enriched by lexical elements. To this end, we have defined a Tree Kernel function to compare Abstract Syntax Trees. A preliminary investigation has been also conducted to assess the validity of the proposed approach.
Keywords
reverse engineering; software maintenance; software reusability; abstract syntax tree; clone detection; code cloning; lexical element; program comprehension; software development; software maintenance; software reuse; syntactic information; syntactic structure; tree kernel function; Cloning; Context; Java; Kernel; Software systems; Syntactics; Clone Detection; Program Comprehension; Software Maintenance; Tree Kernels;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance (ICSM), 2010 IEEE International Conference on
Conference_Location
Timisoara
ISSN
1063-6773
Print_ISBN
978-1-4244-8630-4
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2010.5609715
Filename
5609715
Link To Document