检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]暨南大学信息科学技术学院,广东广州510632
出 处:《微型机与应用》2014年第2期69-71,74,共4页Microcomputer & Its Applications
基 金:国家自然科学基金项目(61272415;61272413;61133014)
摘 要:克隆代码会导致项目的维护困难,削弱项目的健壮性,并且克隆代码中所包含的bug会破坏整个项目。当前克隆代码检测技术或者拘泥于只能检测少数几种克隆代码,或者需要极高的检测时间。而且如果需要检测大量的源代码,一台机器的主存也许无法存储所有的信息。对克隆代码检测技术的并行运行进行了可能性研究,使用基于程序依赖图的克隆代码检测技术,这种技术不仅可以检测出语法上的克隆,也可以检测出语义上的克隆,提出了一个并行子图同构检测方法并使用MapReduce并行实现,实验结果极大地提高了该方法的运行速度。Clone codes make the project hard to maintain and weaken the robustness , and the bugs in these codes would un-dermine the whole project . The state-of-the-art clone code detectors are either not able to find code with same semantics , or computationally expensive . And if clone code detector is to be performed on plenty number of code , the main memory of one ma-chine may not able to hold all the information . In this paper we focus on the parallel of the clone code detector , we utilize the program dependence graph ( PDG )-based code clone detection method , which can not only check the code in contiguous syntax , but also the code with the same semantics . We present an approach to parallel the isomorphism matching in the PDG . By using MapReduce paradigm , we dramatically enhance the searching speed of this method .
关 键 词:克隆代码 程序依赖图 同构匹配检测 HADOOP
分 类 号:TP311[自动化与计算机技术—计算机软件与理论] TP3[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222