A systematic literature review on source code similarity measurement and clone detection: techniques, applications, and challenges
Not on the map. Why?
Abstract (arXiv)
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 10000 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.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 28 of its 256 references that are in the map. First posted on arXiv 28 Jun 2023.
Builds on
28 of 256 references.
References · 28
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2018code2vec: Learning Distributed Representations of Codecited by 249
- 2019Graph Matching Networks for Learning the Similarity of Graph Structured Objectscited by 202
- 2018code2seq: Generating Sequences from Structured Representations of Codecited by 177
- 2016A Convolutional Attention Network for Extreme Summarization of Source Codecited by 90
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
- 2015SourcererCC: Scaling Code Clone Detection to Big Codecited by 40
- 2017Sorting and Transforming Program Repair Ingredients via Deep Learning Code Similaritiescited by 26
- 2020InferCode: Self-Supervised Learning of Code Representations by Predicting Subtreescited by 23
16 more
- 2018Oreo: Detection of Clones in the Twilight Zonecited by 19
- 2020Modeling Functional Similarity in Source Code with Graph-Based Siamese Networkscited by 10
- 2022Unleashing the Power of Compiler Intermediate Representation to Enhance Neural Program Embeddingscited by 10
- 2020The Effectiveness of Supervised Machine Learning Algorithms in Predicting Software Refactoringcited by 9
- 2022An ensemble meta-estimator to predict source code testabilitycited by 5
- 2020A Machine Learning Based Framework for Code Clone Validationcited by 3
- 2020DeepClone: Modeling Clones to Generate Code Predictionscited by 3
- 2019Mercem: Method Name Recommendation Based on Call Graph Embeddingcited by 2
- 2019LVMapper: A Large-variance Clone Detector Using Sequencing Alignment Approachcited by 2
- 2021Clone-Seeker: Effective Code Clone Search Using Annotationscited by 2
- 2022Learning to predict test effectivenesscited by 2
- 2023A systematic literature review on the code smells datasets and validation mechanismscited by 2
- 2016SourcererCC and SourcererCC-I: Tools to Detect Clones in Batch mode and During Software Developmentcited by 1
- 2020Semantic Clone Detection via Probabilistic Software Modelingcited by 1
- 2021Integrated Reasoning Engine for Pointer-related Code Clone Detectioncited by 1
- 2021SEED: Semantic Graph based Deep detection for type-4 clonecited by 1
Built on by
Citing papers per year: 2024: 6; 2025: 5; 2026: 3.
14 papers.
Sort:
By area:
- 2025LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarkscited by 34
- 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generationcited by 13
- 2024Laurel: Unblocking Automated Verification with Large Language Modelscited by 10
- 2024A Large-Scale Study of Model Integration in ML-Enabled Software Systemscited by 6
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2024Unraveling Code Clone Dynamics in Deep Learning Frameworkscited by 2
- 2025AlgoSimBench: Identifying Algorithmically Similar Problems for Competitive Programmingcited by 2
- 2024Integrating Large Language Models and Reinforcement Learning for Non-Linear Reasoningcited by 1
- 2024On the Use of Deep Learning Models for Semantic Clone Detectioncited by 1
- 2026TRACER: A Semantic-Aware Framework for Fine-Grained Contamination Detection in Code LLMscited by 1
- 2025Automated Code Generation and Validation for Software Components of Microcontrollerscited by 0
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
2 more
- 2026Type-IV Code Clone Detection via Layer-Wise Non-Contrastive Representation Learning15 Sep 2026
- 2026TRACER: A Semantic-Aware Framework for Fine-Grained Contamination Detection in Code LLMs22 May 2026
- 2026Can Code Evaluation Metrics Detect Code Plagiarism?28 Apr 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
- 2025AlgoSimBench: Identifying Algorithmically Similar Problems for Competitive Programming21 Jul 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025Automated Code Generation and Validation for Software Components of Microcontrollers26 Feb 2025
- 2025LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarks10 Feb 2025
- 2024On the Use of Deep Learning Models for Semantic Clone Detection19 Dec 2024
- 2024Integrating Large Language Models and Reinforcement Learning for Non-Linear Reasoning17 Oct 2024
- 2024A Large-Scale Study of Model Integration in ML-Enabled Software Systems12 Aug 2024
- 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generation5 Aug 2024
2 more
- 2025LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarkscited by 34
- 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generationcited by 13
- 2024Laurel: Unblocking Automated Verification with Large Language Modelscited by 10
- 2024A Large-Scale Study of Model Integration in ML-Enabled Software Systemscited by 6
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2024Unraveling Code Clone Dynamics in Deep Learning Frameworkscited by 2
- 2024On the Use of Deep Learning Models for Semantic Clone Detectioncited by 1
- 2026TRACER: A Semantic-Aware Framework for Fine-Grained Contamination Detection in Code LLMscited by 1
- 2025Automated Code Generation and Validation for Software Components of Microcontrollerscited by 0
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilitiescited by 0
- 2026Can Code Evaluation Metrics Detect Code Plagiarism?cited by 0
- 2026Type-IV Code Clone Detection via Layer-Wise Non-Contrastive Representation Learningcited by 0
- 2026Type-IV Code Clone Detection via Layer-Wise Non-Contrastive Representation Learning15 Sep 2026
- 2026TRACER: A Semantic-Aware Framework for Fine-Grained Contamination Detection in Code LLMs22 May 2026
- 2026Can Code Evaluation Metrics Detect Code Plagiarism?28 Apr 2026
- 2025Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities28 Nov 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025Automated Code Generation and Validation for Software Components of Microcontrollers26 Feb 2025
- 2025LessLeak-Bench: A First Investigation of Data Leakage in LLMs Across 83 Software Engineering Benchmarks10 Feb 2025
- 2024On the Use of Deep Learning Models for Semantic Clone Detection19 Dec 2024
- 2024A Large-Scale Study of Model Integration in ML-Enabled Software Systems12 Aug 2024
- 2024LiCoEval: Evaluating LLMs on License Compliance in Code Generation5 Aug 2024
- 2024Laurel: Unblocking Automated Verification with Large Language Models27 May 2024
- 2024Unraveling Code Clone Dynamics in Deep Learning Frameworks25 Apr 2024