A systematic literature review on source code similarity measurement and clone detection: Techniques, applications, and challenges

被引:33
作者
Zakeri-Nasrabadi, Morteza [1 ]
Parsa, Saeed [1 ]
Ramezani, Mohammad [1 ]
Roy, Chanchal [2 ]
Ekhtiarzadeh, Masoud [1 ]
机构
[1] Iran Univ Sci & Technol, Sch Comp Engn, Hengam St, Resalat Sq, Tehran 1684613114, Iran
[2] Univ Saskatchewan, Dept Comp Sci, Saskatoon, SK, Canada
关键词
Source code similarity; Code clone; Plagiarism detection; Code recommendation; Systematic literature review; SOFTWARE; BENCHMARK; FRAMEWORK; EFFICIENT; PROGRAMS; NICAD; COPY;
D O I
10.1016/j.jss.2023.111796
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Measuring and evaluating source code similarity is a fundamental software engineering activity that embraces a broad range of applications, including but not limited to code recommendation, duplicate code, plagiarism, malware, and smell detection. This paper proposes a systematic literature review and meta-analysis on code similarity measurement and evaluation techniques to shed light on the existing approaches and their characteristics in different applications. We initially found over 10,000 articles by querying four digital libraries and ended up with 136 primary studies in the field. The studies were classified according to their methodology, programming languages, datasets, tools, and applications. A deep investigation reveals 80 software tools, working with eight different techniques on five application domains. Nearly 49% of the tools work on Java programs and 37% support C and C++, while there is no support for many programming languages. A noteworthy point was the existence of 12 datasets related to source code similarity measurement and duplicate codes, of which only eight datasets were publicly accessible. The lack of reliable datasets, empirical evaluations, hybrid methods, and focuses on multi-paradigm languages are the main challenges in the field. Emerging applications of code similarity measurement concentrate on the development phase in addition to the maintenance.& COPY; 2023 Elsevier Inc. All rights reserved.
引用
收藏
页数:33
相关论文
共 50 条
[21]   Maintainability Challenges in ML: A Systematic Literature Review [J].
Shivashankar, Karthik ;
Martini, Antonio .
2022 48TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, SEAA, 2022, :60-67
[22]   A systematic literature review of cyber insurance challenges [J].
Aziz, Baharuddin ;
Suhardi ;
Kurnia .
2020 INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY SYSTEMS AND INNOVATION (ICITSI), 2020, :357-363
[23]   Phishing Classification Techniques: A Systematic Literature Review [J].
Abdillah, Rahmad ;
Shukur, Zarina ;
Mohd, Masnizah ;
Murah, Ts Mohd Zamri .
IEEE ACCESS, 2022, 10 :41574-41591
[24]   Evaluation of social impact measurement tools and techniques: a systematic review of the literature [J].
Kah, Sally ;
Akenroye, Temidayo .
SOCIAL ENTERPRISE JOURNAL, 2020, 16 (04) :381-402
[25]   Source Code Plagiarism Detection in an Educational Context: A Literature Mapping [J].
Aniceto, Rodrigo C. ;
Holanda, Maristela ;
Castanho, Carla ;
Da Silva, Dilma .
2021 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE 2021), 2021,
[26]   IoT malware detection using static and dynamic analysis techniques: A systematic literature review [J].
Kumar, Sumit ;
Ahlawat, Prachi ;
Sahni, Jyoti .
SECURITY AND PRIVACY, 2024, 7 (06)
[27]   A Systematic Literature Review of Blockchain Technology: Security Properties, Applications and Challenges [J].
Tuan-Vinh Le ;
Hsu, Chien-Lung .
JOURNAL OF INTERNET TECHNOLOGY, 2021, 22 (04) :789-802
[28]   Metaverse Applications: Challenges, Limitations and Opportunities-A Systematic Literature Review [J].
Enamorado-Diaz, Elena ;
Garcia-Garcia, Julian A. ;
Escalona-Cuaresma, Maria Jose ;
Lizcano-Casas, David .
INFORMATION AND SOFTWARE TECHNOLOGY, 2025, 182
[29]   A systematic literature review on opinion types and sentiment analysis techniques Tasks and challenges [J].
Qazi, Atika ;
Raj, Ram Gopal ;
Hardaker, Glenn ;
Standing, Craig .
INTERNET RESEARCH, 2017, 27 (03) :608-630
[30]   A systematic literature review of actionable alert identification techniques for automated static code analysis [J].
Heckman, Sarah ;
Williams, Laurie .
INFORMATION AND SOFTWARE TECHNOLOGY, 2011, 53 (04) :363-387