DocumentCode
251959
Title
An empirical study on the fault-proneness of clone migration in clone genealogies
Author
Shuai Xie ; Khomh, Foutse ; Ying Zou ; Keivanloo, Iman
Author_Institution
Dept. of Electr. & Comput. Eng., Queen´s Univ., Kingston, ON, Canada
fYear
2014
fDate
3-6 Feb. 2014
Firstpage
94
Lastpage
103
Abstract
Copy and paste activities create clone groups in software systems. The evolution of a clone group across the history of a software system is termed as clone genealogy. During the evolution of a clone group, developers may change the location of the code fragments in the clone group. The type of the clone group may also change (e.g., from Type-1 to Type-2). These two phenomena have been referred to as clone migration and clone mutation respectively. Previous studies have found that clone migration occur frequently in software systems, and suggested that clone migration can induce faults in a software system. In this paper, we examine how clone migration phenomena affect the risk for faults in clone segments, clone groups, and clone genealogies from three long-lived software systems JBoss, APACHE-ANT, and ARGOUML. Results show that: (1) migrated clone segments, clone groups, and clone genealogies are not equally fault-prone; (2) when a clone mutation occurs during a clone migration, the risk for faults in the migrated clone is increased; (3) migrating a clone that was not changed for a longer period of time is risky.
Keywords
software engineering; APACHE-ANT; ARGOUML; JBoss; clone genealogies; clone genealogy; clone migration; clone mutation; clone segments; copy-and-paste activities; fault-proneness; software faults; software systems; Cloning; Context; Fault diagnosis; History; Java; Layout; Software systems; Type of clones; clone genealogy; clone migration; clone mutation; fault-proneness;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, Reengineering and Reverse Engineering (CSMR-WCRE), 2014 Software Evolution Week - IEEE Conference on
Conference_Location
Antwerp
Type
conf
DOI
10.1109/CSMR-WCRE.2014.6747229
Filename
6747229
Link To Document