arrow
Return

A Systematic Review on Code Clone Detection

delete2019-01-01
delete84
delete
OA
AI
Q
Qurat Ul Ain
W
Wasi Haider Butt
M
Muhammad Waseem Anwar *
F
Farooque Azam
B
Bilal Maqbool
DOI:10.1109/ACCESS.2019.2918202delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Code cloning refers to the duplication of source code. It is the most common way of reusing source code in software development. If a bug is identified in one segment of code, all the similar segments need to be checked for the same bug. Consequently, this cloning process may lead to bug propagation that significantly affects the maintenance cost. By considering this problem, code clone detection (CCD) appears as an active area of research. Consequently, there is a strong need to investigate the latest techniques, trends, and tools in the domain of CCD. Therefore, in this paper, we comprehensively inspect the latest tools and techniques utilized for the detection of code clones. Particularly, a systematic literature review (SLR) is performed to select and investigate 54 studies pertaining to CCD. Consequently, six categories are defined to incorporate the selected studies as per relevance, i.e., textual approaches (12), lexical approaches (8), tree-based approaches (3), metric-based approaches (7), semantic approaches (7), and hybrid approaches (17). We identified and analyzed 26 CCD tools, i.e., 13 existing and 13 proposed/developed. Moreover, 62 open-source subject systems whose source code is utilized for the CCD are presented. It is concluded that there exist several studies to detect type1, type2, type3, and type4 clones individually. However, there is a need to develop novel approaches with complete tool support in order to detect all four types of clones collectively. Furthermore, it is also required to introduce more approaches to simplify the development of a program dependency graph (PDG) while dealing with the detection of the type4 clones.
Keywords:
CCD
SLR
code clone detection
CCD tools
code clone types
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

N
national university of sciences & technology - pakistan
Scholars:
7.8K
Papers: 6.6K
Citations: 6
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
HYDRALAZINE-INDUCED LUPUS SYNDROME (HILS)
err2025-04-01
err0
PREAI
errRaju, Arvind Kumar Venkataramana; Chinnamuthu, Rajaeaswaran; Majumundar, Vidit; Divyanshu, Deepit; Verma, Ashish
errShare
errSave
Sustainability of the community-based ecotourism development in the Aksu-Zhabagly nature reserve, Kazakhstan
err2022-03-07
err0
errOAAI
errImanaly Akbar; Sergeyeva Aigul Maksatovna; Myrzaliyeva Zabira Kazbekkyzy; Tazhekova Akmaral Zhaksybekkyzy; Saulembaev Altynbai Tagabayevich; Mominov Serik Abdukarimovich
errShare
errSave
A place for place: Modelling and analysing platial representations
err2020-06-19
err0
errOAAI
errRené Westerholt; Franz‐Benjamin Mocnik; Alexis Comber
errShare
errSave
Code clone genealogy detection on e-health system using Hadoop
err2017-07-01
err8
PREAI
errTekchandani, Rajkumar; Bhatia, Rajesh; Singh, Maninder
errShare
errSave
researcher View more