Abstract
A fragment of source code that is identical or similar to another is a code-clone. Code-clones make it difficult to maintain applications as they create multiple points within the code that bugs must be fixed, new rules enforced, or design decisions imposed. As applications grow larger and larger, the pervasiveness of code-clones likewise grows. To face the code-clone related issues, many tools and algorithms have been proposed to find and document code-clones within an application. In this paper, we present the historical trends in code-clone detection tools to show how we arrived at the current implementations. We then present our results from a systematic mapping study on current (2009-2019) code-clone detection tools with regards to technique, open-source nature, and language coverage. Lastly, we propose future directions for code-clone detection tools. This paper provides the essentials to understanding the code-clone detection process and the current state-of-art solutions.
Publisher
Association for Computing Machinery (ACM)
Cited by
32 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Out of step: Code clone detection for mobile apps across different language codebases;Science of Computer Programming;2024-09
2. Are the smart contracts on Q&A site reliable?;Software: Practice and Experience;2024-06-30
3. CodeExtract: Enhancing Binary Code Similarity Detection with Code Extraction Techniques;Proceedings of the 25th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems;2024-06-20
4. GRRLN: Gated Recurrent Residual Learning Networks for code clone detection;Journal of Software: Evolution and Process;2024-02-07
5. An Extensive Study on Adversarial Attack against Pre-trained Models of Code;Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2023-11-30