• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology


Indian Journal of Science and Technology

Year: 2023, Volume: 16, Issue: 7, Pages: 468-475

Original Article

Analysis of Research Trends Towards Types of Code Clone Detection Techniques

Received Date:18 November 2022, Accepted Date:28 December 2022, Published Date:20 February 2023


Objective: The key research objectives of this study are: (1.) To compare and contrast the research trend towards the tree, token, text, metric, and graph-based code clone detection techniques; (2.) To study the distribution of metric-based code clone detection techniques on various online repositories; (3.) To make a statistical analysis of the hybrid techniques available for clone detection. The overall objective is to investigate the research trends of code clone detection approaches. Methods: Various repositories like google scholar, IEEE, and ELSEVIER Digital Libraries were systematically examined to attain the results in terms of research articles published in various places like conferences, journals, etc. followed by the inclusion and exclusion criteria. Findings: (1.) The findings related to objective 1 depicted that 50% of total clone detection techniques are tree and graph-based Code Clone Detection techniques followed by 20% of text-based and 30% of token-based code-clone detection techniques (2.) The findings related to the second objective depicted that an equal percentage of 46% of research work related to metric-based code clone detection techniques has been published in journals and conferences. (3.) The findings related to the third objective showed that 43% of hybrid code clone detection techniques are based on machine learning techniques, 24% are based on neural networks, and 18% of techniques are data mining based followed by 15% nature inspired based algorithms. Novelty: The study conducted is novel in identifying and exploring those potential code clone detection techniques that are underutilized and least explored. The result of research questions will assist researchers to draw inferences regarding usage, application, research trends, future needs, and research directions.

Keywords: Code Clones; Clone Detection Techniques; Metric Based Clone Detection; Types of Clone Detection Techniques; Software Clones


  1. Shobha G, Rana A, Kansal V, Tanwar S. Code Clone Detection—A Systematic Review. In: Hassanien AE, Bhattacharyya S, Chakrabati S, Bhattacharya A., eds. Emerging Technologies in Data Mining and Information Security. (Vol. 1300, pp. 645-655) Springer. 2021.
  2. Saini N, Singh S, Suman. Code Clones: Detection and Management. Procedia Computer Science. 2018;132:718–727. Available from: https://doi.org/10.1016/j.procs.2018.05.080
  3. Yuan D, Fang S, Zhang T, Xu Z, Luo X. Java Code Clone Detection by Exploiting Semantic and Syntax Information From Intermediate Code-Based Graph. IEEE Transactions on Reliability. 2022;p. 1–16. Available from: https://ieeexplore.ieee.org/document/9792461
  4. Bandi V, Roy CK, Gutwin C. Clone Swarm: A Cloud Based Code-Clone Analysis Tool. 2020 IEEE 14th International Workshop on Software Clones (IWSC). 2020;p. 52–56. Available from: https://ieeexplore.ieee.org/document/9047642
  5. Xu K, Liu Y. SCCD-GAN: An Enhanced Semantic Code Clone Detection Model Using GAN. 2021 IEEE 4th International Conference on Electronics and Communication Engineering (ICECE). 2021;p. 16–22. Available from: https://ieeexplore.ieee.org/document/9674552
  6. Guo H, Ai J, Shi T. A Clone Code Detection Method Based on Software Complex Network. 2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW). 2019;p. 120–121. Available from: https://ieeexplore.ieee.org/document/8990341
  7. Wang Y, Liu D. Image-Based Clone Code Detection and Visualization. 2019 International Conference on Artificial Intelligence and Advanced Manufacturing (AIAM). 2019;p. 168–175. Available from: https://ieeexplore.ieee.org/document/8950911
  8. Bowman B, Huang HH. VGRAPH: A Robust Vulnerable Code Clone Detection System Using Code Property Triplets. 2020 IEEE European Symposium on Security and Privacy (EuroS&P). 2020;p. 53–69. Available from: https://ieeexplore.ieee.org/abstract/document/9230372
  9. Othman ZS, Kaya M. Refactoring Code Clone Detection. 2019 7th International Symposium on Digital Forensics and Security (ISDFS). 2019;p. 1–6. Available from: https://ieeexplore.ieee.org/document/8757479
  10. Matsushima K, Inoue K. Comparison and Visualization of Code Clone Detection Results. 2020 IEEE 14th International Workshop on Software Clones (IWSC). 2020;p. 45–51. Available from: https://ieeexplore.ieee.org/document/9047633
  11. Li B, Ye C, Guan S, Zhou H. Semantic Code Clone Detection Via Event Embedding Tree and GAT Network. 2020 IEEE 20th International Conference on Software Quality, Reliability and Security (QRS). 2020;p. 382–393. Available from: https://ieeexplore.ieee.org/document/9282778
  12. Kumar A, Yadav R, Kumar K. A Systematic Review of Semantic Clone Detection Techniques in Software Systems. IOP Conference Series: Materials Science and Engineering. 2021;1022(012074). Available from: https://iopscience.iop.org/article/10.1088/1757-899X/1022/1/012074
  13. Khazaal YM, Hammo AY. Survey on Software code clone detection. Technium: Romanian Journal of Applied Sciences and Technology. 2022;4(3):28–36. Available from: https://doi.org/10.47577/technium.v4i3.636
  14. Tronicek Z. Indexing source code and clone detection. Information and Software Technology. 2022. Available from: https://doi.org/10.1016/j.infsof.2021.106805
  15. Khazaal YM, Hammo AY. Survey on Software code clone detection. Technium: Romanian Journal of Applied Sciences and Technology. 1920;4(3):28–36. Available from: https://techniumscience.com/index.php/technium/article/view/6361
  16. Ain QU, Butt WH, Anwar MW, Azam F, Maqbool B. A Systematic Review on Code Clone Detection. IEEE Access. 2019;7:86121–86144. Available from: https://ieeexplore.ieee.org/document/8719895
  17. Zhang X, Wang T, Yu Y, Zhang Y, Zhong Y, Wang H. The Development and Prospect of Code Clone. Arxiv. 2022. Available from: https://arxiv.org/pdf/2202.08497.pdf


© 2023 Solanki & Dalal. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Published By Indian Society for Education and Environment (iSee)


Subscribe now for latest articles and news.