期刊名称:International Journal of Security and Its Applications
印刷版ISSN:1738-9976
出版年度:2015
卷号:9
期号:6
页码:167-182
DOI:10.14257/ijsia.2015.9.6.17
出版社:SERSC
摘要:Software systems often contain plenty of code clones, which bring significant impact on software development and maintenance. Tracking clones in the evolution process is essential to analyzing clones, since we cannot understand clone phenomenon well just rely on the clone detection results of single version. We developed a function clone genealogy extractor, cGen, which can track clones across multiple versions to extract type-1 and type-2 function clone genealogies. By using cGen, we examine nine open source C projects and analyze their evolution. Our study shows that cGen can efficiently extract clone genealogies from multiple versions of a project, and provide support for clone evolution analysis.