Title :
Understanding the evolution of Type-3 clones: An exploratory study
Author :
Saha, Ripon K. ; Roy, Chanchal K. ; Schneider, Kevin A. ; Perry, Dewayne E.
Author_Institution :
Univ. of Texas at Austin, Austin, TX, USA
Abstract :
Understanding the evolution of clones is important both for understanding the maintenance implications of clones and building a robust clone management system. To this end, researchers have already conducted a number of studies to analyze the evolution of clones, mostly focusing on Type-1 and Type-2 clones. However, although there are a significant number of Type-3 clones in software systems, we know a little how they actually evolve. In this paper, we perform an exploratory study on the evolution of Type-1, Type-2, and Type-3 clones in six open source software systems written in two different programming languages and compare the result with a previous study to better understand the evolution of Type-3 clones. Our results show that although Type-3 clones are more likely to change inconsistently, the absolute number of consistently changed Type-3 clone classes is higher than that of Type-1 and Type-2. Type-3 clone classes also have a lifespan similar to that of Type-1 and Type-2 clones. In addition, a considerable number of Type-1 and Type-2 clones convert into Type-3 clones during evolution. Therefore, it is important to manage type-3 clones properly to limit their negative impact. However, various automated clone management techniques such as notifying developers about clone changes or linked editing should be chosen carefully due to the inconsistent nature of Type-3 clones.
Keywords :
programming languages; public domain software; software maintenance; clone maintenance implications; open source software systems; programming languages; robust clone management system; type-1 clone; type-2 clones; type-3 clone evolution; Cloning; History; Maintenance engineering; Robustness; Software systems; Syntactics; Type-3 clones; clone evolution; clone genealogy;
Conference_Titel :
Mining Software Repositories (MSR), 2013 10th IEEE Working Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4799-0345-0
DOI :
10.1109/MSR.2013.6624021