This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2009 Ninth IEEE International Working Conference on Source Code Analysis and Manipulation
Evolution of Type-1 Clones
Edmonton, Alberta, Canada
September 20-September 21
ISBN: 978-0-7695-3793-1
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.
Index Terms:
software clones, clone mapping, evolution model
Citation:
Nils Göde, "Evolution of Type-1 Clones," scam, pp.77-86, 2009 Ninth IEEE International Working Conference on Source Code Analysis and Manipulation, 2009
Usage of this product signifies your acceptance of the Terms of Use.