检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:邹悦 吴鸣 徐云[1,2] ZOU Yue;WU Ming;XU Yun(School of Computer Science,University of Science and Technology of China,Hefei 230027;Key Laboratory of High Performance Computing of Anhui Province,Hefei 230026,China)
机构地区:[1]中国科学技术大学计算机学院,安徽合肥230027 [2]安徽省高性能计算重点实验室,安徽合肥230026
出 处:《计算机工程与科学》2020年第7期1191-1196,共6页Computer Engineering & Science
基 金:国家自然科学基金(61672480)。
摘 要:代码克隆检测是软件工程中的基础研究,在软件分析和维护方面有着广泛应用。目前对于有文本差异的高级别(即学术界定义的级别3和级别4)克隆检测,现有方法存在检出率(回收率)不高的问题。基于程序依赖图PDG的检测方法是高级别克隆检测的一类重要方法,但这类方法依赖子图同构的精确图匹配算法,算法时间复杂度高且回收率较低。为此,提出了一种新的高级别代码克隆检测方法,使用基于Weisfeiler-Lehman图核的非精确图匹配算法进行代码克隆检测。实验结果表明,与已有的代码克隆检测方法相比,该方法可以检出更多的高级别克隆且计算时间较短。Code clone detection is a basic research in software engineering,and it is widely used in software analysis and maintenance.At present,for detecting high-level clone with text difference,namely type-3/type-4 clone defined in the academic field,the existing methods have the problem of low detection rate(recall rate).The PDG(Program Dependency Graph)based detection methods are very important in high-level clone detection area,but these methods mostly rely on the accurate graph matching algorithms such as subgraph isomorphism,which have high time complexity and low recovery.Therefore,we propose a novel high-level code clone detection method,which uses the approximate graph matching algorithm based on Weisfeiler-Lehman graph kernel to detect clones.The experimental results show that our method can detect more high-level clones and run faster than the existing methods.
关 键 词:代码克隆检测 程序依赖图 Weisfeiler-Lehman图核
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.171