2010 10th IEEE Working Conference on Source Code Analysis and Manipulation (2010)
Sept. 12, 2010 to Sept. 13, 2010
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/SCAM.2010.32
Code clone genealogies show how clone groups evolve with the evolution of the associated software system, and thus could provide important insights on the maintenance implications of clones. In this paper, we provide an in-depth empirical study for evaluating clone genealogies in evolving open source systems at the release level. We develop a clone genealogy extractor, examine 17 open source C, Java, C++ and C# systems of diverse varieties and study different dimensions of how clone groups evolve with the evolution of the software systems. Our study shows that majority of the clone groups of the clone genealogies either propagate without any syntactic changes or change consistently in the subsequent releases, and that many of the genealogies remain alive during the evolution. These findings seem to be consistent with the findings of a previous study that clones may not be as detrimental in software maintenance as believed to be (at least by many of us), and that instead of aggressively refactoring clones, we should possibly focus on tracking and managing clones during the evolution of software systems.
code clone, clone evolution, empirical study, open source software
M. Asaduzzaman, C. K. Roy, K. A. Schneider, M. F. Zibran and R. K. Saha, "Evaluating Code Clone Genealogies at Release Level: An Empirical Study," 2010 10th IEEE Working Conference on Source Code Analysis and Manipulation(SCAM), Timisoara, Romania, 2010, pp. 87-96.