Pith. sign in

REVIEW 2 cited by

Towards Understanding the Capability of Large Language Models on Code Clone Detection: A Survey

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2308.01191 v3 pith:7SGFF7NL submitted 2023-08-02 cs.SE

classification cs.SE
keywords clonecodedetectionllmslanguagesoftwareaidsclones
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Code cloning, the duplication of code fragments, is common in software development. While some reuse aids productivity, excessive cloning hurts maintainability and introduces bugs. Hence, automatic code clone detection is vital. Meanwhile, large language models (LLMs) possess diverse code-related knowledge, making them versatile for various software engineering challenges. However, LLMs' performance in code clone detection is unclear and needs more study for accurate assessment. In this paper, we provide the first comprehensive evaluation of LLMs for clone detection, covering different clone types, languages, and prompts. We find advanced LLMs excel in detecting complex semantic clones, surpassing existing methods. Adding intermediate reasoning steps via chain-of-thought prompts noticeably enhances performance. Additionally, representing code as vector embeddings, especially with text encoders, effectively aids clone detection.Lastly, the ability of LLMs to detect code clones differs among various programming languages. Our study suggests that LLMs have potential for clone detection due to their language capabilities, offering insights for developing robust LLM-based methods to enhance software engineering.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Trade Policy and Structural Change

    econ.GN 2025-08 unverdicted novelty 5.0 of 10

    A dynamic multi-country model with nonhomothetic preferences and complementary sectors implies a 20 percentage point U.S. manufacturing tariff raises the manufacturing value-added share by about one percentage point a...

  2. HyClone: Bridging LLM Understanding and Dynamic Execution for Semantic Code Clone Detection

    cs.SE 2025-08 unverdicted novelty 5.0 of 10

    A two-stage LLM-plus-execution framework is claimed to improve semantic code clone detection, but the submitted text does not contain the claimed framework.

Pith tools