首页> 外文期刊>IEEE Transactions on Software Engineering >CCFinder: a multilinguistic token-based code clone detection system for large scale source code
【24h】

CCFinder: a multilinguistic token-based code clone detection system for large scale source code

机译:CCFinder:基于多语言令牌的代码克隆检测系统,用于大规模源代码

获取原文
获取原文并翻译 | 示例

摘要

A code clone is a code portion in source files that is identical or similar to another. Since code clones are believed to reduce the maintainability of software, several code clone detection techniques and tools have been proposed. This paper proposes a new clone detection technique, which consists of the transformation of input source text and a token-by-token comparison. For its implementation with several useful optimization techniques, we have developed a tool, named CCFinder (Code Clone Finder), which extracts code clones in C, C++, Java, COBOL and other source files. In addition, metrics for the code clones have been developed. In order to evaluate the usefulness of CCFinder and metrics, we conducted several case studies where we applied the new tool to the source code of JDK, FreeBSD, NetBSD, Linux, and many other systems. As a result, CCFinder has effectively found clones and the metrics have been able to effectively identify the characteristics of the systems. In addition, we have compared the proposed technique with other clone detection techniques.
机译:代码克隆是源文件中与另一个文件相同或相似的代码部分。由于人们认为代码克隆会降低软件的可维护性,因此已经提出了几种代码克隆检测技术和工具。本文提出了一种新的克隆检测技术,该技术包括输入源文本的转换和逐令牌比较。为了使用多种有用的优化技术来实现,我们开发了一个名为CCFinder(代码克隆查找器)的工具,该工具可以提取C,C ++,Java,COBOL和其他源文件中的代码克隆。另外,已经开发了代码克隆的度量。为了评估CCFinder和度量标准的实用性,我们进行了一些案例研究,在其中将新工具应用于JDK,FreeBSD,NetBSD,Linux和许多其他系统的源代码。结果,CCFinder有效地找到了克隆,并且度量标准能够有效地识别系统的特征。此外,我们将提出的技术与其他克隆检测技术进行了比较。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号