Comparing Large Language Models and Traditional Clone Detection Tools for Intra- and Cross-Language Code Clone Detection
Code clone detection is one of the fundamental problems in software maintenance. While traditional code clone detection techniques have achieved competitive results in identifying syntactic similarity, their ability to handle semantic and cross-language clones remains constrained. The emergence of large language models (LLMs) introduces new opportunities for exploring semantic relationships in source code, which at first glance appear suitable for clone detection tasks. In this paper, we present an empirical comparison between LLM-based clone detection and a representative traditional tool (LICCA) across both intra-language and cross-language scenarios. We analyze the respective strengths and limitations of the two approaches and examine the impact of prompt formulation on detection performance. The experimental results suggest that integrating traditional clone detection tools with LLM-based semantic analysis may help address complementary strengths and limitations observed across the evaluated approaches.
Mon 16 MarDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
13:30 - 15:00 | SCLIT 2026SCLIT at Seminar Room 131 Chair(s): Nicolás Cardozo Universidad de los Andes, Gordana Rakić University of Novi Sad | ||
13:30 20mTalk | A Tool for Transforming the Type of a Container in C++ Code SCLIT Ábel Szauter ELTE Eötvös Loránd University, Budapest, Hungary, Norbert Pataki Eötvös Loránd University, Faculty of Informatics, Department of Programming Languages and Compilers Link to publication | ||
13:50 20mTalk | Comparing Large Language Models and Traditional Clone Detection Tools for Intra- and Cross-Language Code Clone Detection SCLIT Luka Vranković Department of Mathematics and Informatics, Faculty of Sciences, University of Novi Sad, Gordana Rakić University of Novi Sad Link to publication | ||
14:10 50mKeynote | Python With Free Threading and Just-In-Time Compilation: A Blessing or a Curse? SCLIT Stefan Marr Johannes Kepler University Linz | ||