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

Parallel Clone Code Detector in MapReduce

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

获取原文
   

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

       

摘要

Programmers often copy code to improveefficiency, and different developers may write the same codeindependently, these behaviors bring clone code to theproject. Clone code makes the project hard to maintain andweakens the robustness, and the bugs in these code segmentswould undermine the whole project. The state-of-the-artclone code detectors are either not able to find code withsame semantics, or computationally expensive. And if clonecode detector is to be performed on plenty number of code,the main memory of one machine may not able to hold allthe information.In this paper we focus on the parallel of the clone codedetector, we utilize the Program Dependence Graph (PDG)-based clone code detection method, which can not onlycheck the code in contiguous syntax, but also the code withthe same semantics. We present an approach to parallel theisomorphism matching in the PDG. By using MapReduceparadigm, we dramatically enhance the speed of thismethod.
机译:程序员经常复制代码以提高效率,并且不同的开发人员可以独立地编写相同的代码,这些行为将克隆代码带到了项目中。克隆代码使项目难以维护并削弱了健壮性,而这些代码段中的错误将破坏整个项目。现有技术水平的代码检测器无法找到具有相同语义的代码,或者计算量大。如果要对大量代码执行克隆代码检测器,则一台机器的主存储器可能无法容纳所有信息。在本文中,我们重点介绍克隆代码检测器的并行性,我们利用程序依赖图(PDG)基于克隆的代码检测方法,它不仅可以检查连续语法中的代码,而且可以检查具有相同语义的代码。我们提出了一种在PDG中进行并行同构匹配的方法。通过使用MapReduceparadigm,我们可以大大提高此方法的速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号