首页 | 本学科首页   官方微博 | 高级检索  
     

软件源代码中的代码克隆现象及其检测方法
引用本文:叶青青.软件源代码中的代码克隆现象及其检测方法[J].计算机应用与软件,2008,25(9).
作者姓名:叶青青
作者单位:杭州职业技术学院,浙江,杭州,310018
摘    要:如果软件源程序中的一个代码段和同一程序中的另一个代码段在结构或语义上类似,这些代码段就成了代码克隆.概述代码克隆存在的各种形式,分析代码克隆产生的原因,并在概括了代码克隆检测的一般过程以后进一步阐述两类代码克隆检测方法:基于语义抽象树的检测方法和基于Token序列的检测方法.

关 键 词:代码克隆  软件维护  软件理解  语义抽象树  后缀树  频繁项集挖掘

CODE CLONES IN PROGRAMS AND THEIR DETECTION
Ye Qingqing.CODE CLONES IN PROGRAMS AND THEIR DETECTION[J].Computer Applications and Software,2008,25(9).
Authors:Ye Qingqing
Affiliation:Ye Qingqing(Hangzhou Vocational , Technical College,Hangzhou 310018,Zhejiang,China)
Abstract: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 tree-based methods,and token-based methods.
Keywords:Code clone Software maintenance Program understanding Abstract syntax tree Suffix-tree Frequent item set mining  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号