Assessing the effect of clones on changeability
Authors:
- 1 September 2008
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636773,p. 227-236
Abstract
To prioritize software maintenance activities, it is important to identify which programming flaws impact most on an applicationpsilas evolution. Recent empirical studies on such a flaw, code clones, have focused on one of the arguments to consider clones harmful, namely, that related clones are not updated consistently. We believe that a wider notion is needed to assess the effect of cloning on evolution. This paper compares measures of the maintenance effort on methods with clones against those without. Statistical and graphical analysis suggests that having a clone may increase the maintenance effort of changing a method. The effort seems to increase depending on the percentage of the system affected whenever the methods that share the clone are modified. We also found that some methods seem to increase significantly their maintenance effort when a clone was present. However, the characteristics analyzed in these methods did not reveal any systematic relation between cloning and such maintenance effort increase.Keywords
This publication has 18 references indexed in Scilit:
- Empirical Studies of Open Source Evolution2008
- Clone Smells in Software Evolution2007
- Assessing the impact of bad smells using historical information2007
- Relation of Code Clones and Change CouplingsLecture Notes in Computer Science, 2006
- Aiding comprehension of cloning through categorization2004
- Software quality analysis by code clones in industrial legacy software2003
- Evaluating clone detection tools for use during preventative maintenance2002
- CCFinder: a multilinguistic token-based code clone detection system for large scale source codeIEEE Transactions on Software Engineering, 2002
- An empirical study of operating systems errors2001
- Assessing the benefits of incorporating function clone detection in a development process1997