An Empirical Study on Inconsistent Changes to Code Clones at Release Level
Authors:
- Nicolas BettenburgNBNicolas Bettenburg
- Weyi ShangWSWeyi Shang
- Walid IbrahimWIWalid Ibrahim
- Bram AdamsBABram Adams
- Ying ZouYZYing Zou
- Ahmed E. HassanAHAhmed E. Hassan
- 1 January 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10951350,p. 85-94
Abstract
Current research on code clones tries to address the question whether or not code clones are harmful for the quality of software. As most of these studies are based on the fine-grained analysis of inconsistent changes at the revision level, they capture much of the chaotic and experimental nature inherent to any ongoing software development process. Conclusions drawn from the inspection of highly fluctuating and short-lived clones are likely to exaggerate the ill effects of inconsistent changes. To gain a broader perspective, we perform an empirical study on the effect of inconsistent changes on software quality at the release level. Based on a case study on two open source software systems, we observe that only 1% to 3% of inconsistent changes to clones introduce software defects, as opposed to substantially higher percentages reported by other studies. Our findings suggest that developers are able to effectively manage and control the evolution of cloned code at the release level.Keywords
This publication has 22 references indexed in Scilit:
- Comparison and evaluation of code clone detection techniques and tools: A qualitative approachScience of Computer Programming, 2009
- Clonetracker2008
- Identifying and Removing Software Clones2008
- Clone Smells in Software Evolution2007
- Tracking Code Clones in Evolving Software29th International Conference on Software Engineering (ICSE'07), 2007
- Supporting the analysis of clones in software systemsJournal of Software Maintenance and Evolution: Research and Practice, 2006
- An empirical study of code clone genealogies2005
- Clone detection using abstract syntax trees2002
- Analyzing cloning evolution in the Linux kernelInformation and Software Technology, 2002
- CCFinder: a multilinguistic token-based code clone detection system for large scale source codeIEEE Transactions on Software Engineering, 2002