Title :
gCad: A Near-Miss Clone Genealogy Extractor to Support Clone Evolution Analysis
Author :
Saha, Ripon K. ; Roy, Chanchal K. ; Schneider, Kevin A.
Author_Institution :
Univ. of Texas at Austin, Austin, TX, USA
Abstract :
Understanding the evolution of code clones is important for both developers and researchers to understand the maintenance implications of clones and to design robust clone management systems. Generally, a study of clone evolution starts with extracting clone genealogies across multiple versions of a program and classifying them according to their change patterns. Although these tasks are straightforward for exact clones, extracting the history of near-miss clones and classifying their change patterns automatically is challenging due to the potential diverse variety of clone fragments even in the same clone class. In this tool demonstration paper we describe the design and implementation of a near-miss clone genealogy extractor, gCad, that can extract and classify both exact and near-miss clone genealogies. Developers and researchers can compute a wide range of popular metrics regarding clone evolution by simply post processing the gCad results. gCad scales well to large subject systems, works for different granularities of clones, and adapts easily to popular clone detection tools.
Keywords :
pattern classification; program diagnostics; software maintenance; software metrics; software tools; clone detection tools; clone evolution; clone evolution analysis; clone genealogy classification; exact clone genealogy extractor; gCad; metrics; near-miss clone genealogy extractor; Cloning; Detectors; Educational institutions; Maintenance engineering; Measurement; XML; Type-3 clones; clone evolution; clone genealogy;
Conference_Titel :
Software Maintenance (ICSM), 2013 29th IEEE International Conference on
Conference_Location :
Eindhoven
DOI :
10.1109/ICSM.2013.79