期刊文献+

软件源代码中的代码克隆现象及其检测方法 被引量:1

CODE CLONES IN PROGRAMS AND THEIR DETECTION
下载PDF
导出
摘要 如果软件源程序中的一个代码段和同一程序中的另一个代码段在结构或语义上类似,这些代码段就成了代码克隆。概述代码克隆存在的各种形式,分析代码克隆产生的原因,并在概括了代码克隆检测的一般过程以后进一步阐述两类代码克隆检测方法:基于语义抽象树的检测方法和基于Token序列的检测方法。 If a code segment is similar structurally or semantically to another code segment in a source program of software, these tow code segments are called code clones. This paper describes the various forms of code clones and analyzes the factors that lead to code clones. After a brief depiction of the general framework of detecting code clones, it discusses two types of clone detection techniques : abstract syntax treebased methods, and token-based methods.
作者 叶青青
出处 《计算机应用与软件》 CSCD 北大核心 2008年第9期147-149,159,共4页 Computer Applications and Software
关键词 代码克隆 软件维护 软件理解 语义抽象树 后缀树 频繁项集挖掘 Code clone Software maintenance Program understanding Abstract syntax tree Suffix-tree Frequent item set mining
  • 相关文献

参考文献7

  • 1Baker B S. On finding duplication and near-duplication in large software systems. In Proceedings of the 13th Working Conference on ReVerse Engineering, IEEE CS Press, 1995 : 86 - 95.
  • 2Antoniol G, et al. Analyzing cloning evolution in the Linux kernel. Journal of Information and Software Technology, 2002,44 ( 13 ) : 755 - 765.
  • 3Baxter I D, et al. Clone detection using abstract syntax tree. In Proceedings of 1998 International Conference on Software Maintenance. 1998 : 368 - 377.
  • 4Jiang L, et al. DECKARD: Scalable and accurate tree-based dection of code clones, in Proceedings of International Conference on Software Engineering, 2007.
  • 5Gionis A, Indyk P, Motwani R. Similarity search in high dimensions via hashing, in VLDB 1999:518 - 529.
  • 6Kamiya T, Kusmoto S, Inoue K. CCFinder: A multilinguistic tokenbased code clone detection system for large scale source code. IEEE Transactions on Software Engineering, 2002,28 (6) :654- 670.
  • 7Li Z,Lu S,Myagmar S,Zhou Y. CP-Miner: Finding copy-paste and related bugs in large-scale software code. IEEE Transactions on Software Engineering,2006,32(3) :176 - 192.

同被引文献2

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部