Volume 9 Number 6 (Jun. 2014)
Home > Archive > 2014 > Volume 9 Number 6 (Jun. 2014) >
JSW 2014 Vol.9(6): 1561-1566
doi: 10.4304/jsw.9.6.1561-1566

Parallel Clone Code Detector in MapReduce

Lin Ye , Guoxiang Yao

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

Abstract

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.

Keywords

  • clone code
  • PDG
  • isomorphism matching
  • Ma
jsw0906-26

How to Cite

Copied

Lin Ye and Guoxiang Yao, "Parallel Clone Code Detector in MapReduce," Journal of Software, vol. 9, no. 6, pp. 1561-1566, 2014. https://doi.org/ 10.4304/jsw.9.6.1561-1566

Copyright & License

Copyright © 2014 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

General Information

  • ISSN: 1796-217X (Online)

  • Abbreviated Title: J. Softw.

  • Frequency:  Biannually

  • APC: 500USD

  • DOI: 10.17706/JSW

  • Editor-in-Chief: Prof. Antanas Verikas

  • Executive Editor: Ms. Cecilia Xie

  • Abstracting/ Indexing: DBLP, CNKI, 

  • Google Scholar, ProQuest,
           INSPEC(IET), ULRICH's Periodicals
           Directory, WorldCat, etc

  • E-mail: editor@jsoftware.us

  • Aug 27, 2026 News!

    Vol 21, No 1 has been published with online version

  • Mar 30, 2026 News!

    Vol 20, No 2 has been published with online version   [Click]

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Mar 07, 2025 News!

    JSW had implemented online submission system   [Click]