微型机与应用Issue(2):69-71,74,4.
Hadoop集群下的并行克隆代码检测
Parallel clone code detector in Hadoop cluster
摘要
Abstract
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 .关键词
克隆代码/程序依赖图/同构匹配检测/HadoopKey words
clone code/PDG/isomorphism matching/Hadoop分类
信息技术与安全科学引用本文复制引用
叶林,姚国祥..Hadoop集群下的并行克隆代码检测[J].微型机与应用,2014,(2):69-71,74,4.基金项目
国家自然科学基金项目(61272415,61272413,61133014) (61272415,61272413,61133014)