DocumentCode :
1692651
Title :
An Assessment of Type-3 Clones as Detected by State-of-the-Art Tools
Author :
Tiarks, Rebecca ; Koschke, Rainer ; Falke, Raimar
Author_Institution :
Univ. of Bremen, Bremen, Germany
fYear :
2009
Firstpage :
67
Lastpage :
76
Abstract :
Code reuse through copying and pasting leads to so-called software clones. These clones can be roughly categorized into identical fragments (type-1 clones), fragments with parameter substitution (type-2 clones), and similar fragments that differ through modified,deleted, or added statements (type-3 clones). Although there has been extensive research on detecting clones, detection of type-3 clones is still an open research issue due to the inherent vaguenessin their definition. In this paper, we analyze type-3 clones detected by state-of-the-art tools and investigate type-3 clones in terms of their syntactic differences. Then, we derive their underlying semantic abstractions from their syntactic differences. Finally, we investigate whether there are any additional code characteristics that indicate that a tool-suggested clone candidate is a real type-3 clone from a human´s perspective. Our findings can help developers of clone detectors to improve their tools.
Keywords :
programming; software reusability; clone detector; code characteristics; code reuse; identical fragments; parameter substitution; semantic abstraction; software clones; syntactic difference; type-1 clones; type-2 clones; type-3 clones; Cloning; Detectors; Open source software; Software tools; Stress; Taxonomy; Terminology; clone categorization; software clones; type-3 clones;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Source Code Analysis and Manipulation, 2009. SCAM '09. Ninth IEEE International Working Conference on
Conference_Location :
Edmonton, AB
Print_ISBN :
978-0-7695-3793-1
Type :
conf
DOI :
10.1109/SCAM.2009.16
Filename :
5279980
Link To Document :
بازگشت