Title
Evolution of Type-1 Clones
Abstract
It is useful to study the evolution of code clones to better understand the nature, effects, and reasons of cloning. There are different approaches that investigate multiple versions of a program and detect patterns in the evolution of clones. The shortcomings of these methods are that they require significant computational effort, are limited to detecting predefined patterns and are mostly based on heuristics. This paper presents an approach that models clone evolution based on the source code changes that were made between consecutive program versions. Instead of relating clone classes by predefined patterns, the focus is on how individual cloned fragments evolve. The model has been used to analyze different aspects of type-1 clone evolution in nine open-source systems. The empirical results show that the ratio of clones decreased in the majority of the systems and cloned fragments survived more than a year on average. It was found that -- depending on the system -- either consistent or inconsistent changes to clone classes were more frequent. Overall, the peculiarity of clone evolution is significantly different for each system, making general conclusions difficult.
Year
DOI
Venue
2009
10.1109/SCAM.2009.17
Edmonton, AB
Keywords
Field
DocType
different aspect,clone evolution,clone class,type-1 clone evolution,code clone,open-source system,models clone evolution,predefined pattern,different approach,type-1 clones,consecutive program version,configuration management,kernel,java,linux,data mining,history,software maintenance,patterns,source code,cloning,computational modeling
Computer science,Source code,Theoretical computer science,Software clones,Real-time computing,Heuristics,Computational biology,clone (Java method)
Conference
ISSN
ISBN
Citations 
1942-5430
978-0-7695-3793-1
37
PageRank 
References 
Authors
1.87
15
1
Name
Order
Citations
PageRank
Nils Göde121213.98