Title :
How Clones are Maintained: An Empirical Study
Author :
Aversano, Lerina ; Cerulo, Luigi ; Di Penta, Massimiliano
Author_Institution :
Dept. of Eng., Sannio Univ., Benevento
Abstract :
Despite the conventional wisdom concerning the risks related to the use of source code cloning as a software development strategy, several studies appeared in literature indicated that this is not true. In most cases clones are properly maintained and, when this does not happen, is because cloned code evolves independently. Stemming from previous works, this paper combines clone detection and co-change analysis to investigate how clones are maintained when an evolution activity or a bug fixing impact a source code fragment belonging to a clone class. The two case studies reported confirm that, either for bug fixing or for evolution purposes, most of the cloned code is consistently maintained during the same co-change or during temporally close co-changes
Keywords :
software maintenance; source coding; clone detection; cochange analysis; software development; software evolution; software maintenance; source code cloning; source code fragment; Cloning; Java; Kernel; Linux; Maintenance engineering; Performance analysis; Programming; Software maintenance; Software systems; Testing;
Conference_Titel :
Software Maintenance and Reengineering, 2007. CSMR '07. 11th European Conference on
Conference_Location :
Amsterdam
Print_ISBN :
0-7695-2802-3
DOI :
10.1109/CSMR.2007.26