How Clones are Maintained: An Empirical Study
- 1 January 2007
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15345351,p. 81-90
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-changesKeywords
This publication has 18 references indexed in Scilit:
- "Cloning Considered Harmful" Considered Harmful2006
- Improved tool support for the investigation of duplication in software2005
- Aiding comprehension of cloning through categorization2004
- Mining version histories to guide software changes2004
- Preprocessing CVS data for fine-grained analysis2004
- Measuring clone based reengineering opportunities2003
- On detection of gapped code clones using gap locations2002
- Evolution in open source software: a case study2000
- Experiment on the automatic detection of function clones in a software system using metrics1996
- A file comparison programSoftware: Practice and Experience, 1985