...
首页> 外文期刊>Journal of software >Parallel Clone Code Detector in MapReduce
【24h】

Parallel Clone Code Detector in MapReduce

机译:MapReduce中的并行克隆代码检测器

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Programmers often copy code to improve efficiency, and different developers may write the same code independently, these behaviors bring clone code to the project Clone code makes the project hard to maintain and weakens the robustness, and the bugs in these code segments would undermine 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 machine 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 clone code 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 speed of this method.
机译:程序员经常复制代码以提高效率,并且不同的开发人员可能会独立编写相同的代码,这些行为将克隆代码带到项目中克隆代码使项目难以维护并削弱了健壮性,这些代码段中的错误会破坏整个项目最新的克隆代码检测器无法找到具有相同语义的代码,或者计算量大。而且,如果要对大量代码执行克隆代码检测器,则一台机器的主存储器可能无法保存所有信息。在本文中,我们着重研究克隆代码检测器的并行性,利用基于程序依赖图(PDG)的克隆代码检测方法,该方法不仅可以检查连续语法中的代码,而且可以检查具有相同语义的代码。我们提出了一种在PDG中并行进行同构匹配的方法。通过使用MapReduce范例,我们大大提高了此方法的速度。

著录项

  • 来源
    《Journal of software》 |2014年第6期|1561-1566|共6页
  • 作者

    Lin Ye; Guoxiang Yao;

  • 作者单位

    College of Information Science and Technology, Jinan University, 510632, Guangzhou, China;

    College of Information Science and Technology, Jinan University, 510632, Guangzhou, China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    clone code; PDG; isomorphism matching; MapReduce;

    机译:克隆代码;PDG;同构匹配MapReduce;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号