KClone: A Proposed Approach to Fast Precise Code Clone Detection
KClone: A Proposed Approach to Fast Precise Code Clone Detection
复制标题
DOI:
--
复制
发表时间:
2009
期刊:
影响因子:
--
通讯作者:
Yue Jia;D. Binkley;M. Harman;J. Krinke;M. Matsushita;King’s College London
中科院分区:
文献类型:
--
作者:
Yue Jia;D. Binkley;M. Harman;J. Krinke;M. Matsushita;King’s College London
In all applications of clone detection it is important to have precise and efficient clone identification algorithms. This paper proposes and outlines a new algorithm, KClone for clone detection that incorporates a novel combination of lexical and local dependence analysis to achieve precision, while retaining speed. The paper also reports on the initial results of a case study using an implementation of KClone with which we have been experimenting. The results indi- cate the ability of KClone to find types-1,2, and 3 clones compared to token-based and PDG-based techniques. The paper also reports results of an initial empirical study of the performance of KClone compared to CCFinderX.