paper-with-me

Papers

Source Code Clone Detection Using Unsupervised Similarity Measures

2024-01-18 · Jorge Martinez-Gil

Assessing similarity in source code has gained significant attention in recent years due to its importance in software engineering tasks such as clone detection and code search and recommendation. This work presents a comparative analysis of unsupervised similarity measures for identifying source code clone detection. The goal is to overview the current state-of-the-art techniques, their strengths, and weaknesses. To do that, we compile the existing unsupervised strategies and evaluate their performance on a benchmark dataset to guide software engineers in selecting appropriate methods for their specific use cases. The source code of this study is available at https://github.com/jorge-martinez-gil/codesim

📄 PDF Abstract BibTeX arXiv:2401.09885

Code (1)

jorge-martinez-gil/codesim 공식 구현 tf

Tasks

Clone DetectionCode Search

Similar Papers 제목 키워드 기반

Code Clone Detection based on Event Embedding and Event Dependency

2021-11-28 · Cheng Huang, Hui Zhou, Chunyang Ye, Bingzhuo Li

The code clone detection method based on semantic similarity has important value in software engineering tasks (e.g., software evolution, software reuse). Traditional code clone detection technologies pay more attention …

Clone DetectionSemantic SimilaritySemantic Textual Similarity

Assessing the Code Clone Detection Capability of Large Language Models

2024-07-02 · Zixian Zhang, Takfarinas Saber

This study aims to assess the performance of two advanced Large Language Models (LLMs), GPT-3.5 and GPT-4, in the task of code clone detection. The evaluation involves testing the models on a variety of code pairs of dif…

Clone DetectionCode Generation

CCT-Code: Cross-Consistency Training for Multilingual Clone Detection and Code Search

2023-05-19 · Anton Tikhonov, Nikita Sorokin, Dmitry Abulkhanov, Irina Piontkovskaya 외

We consider the well-known and important tasks of clone detection and information retrieval for source code. The most standard setup is to search clones inside the same language code snippets. But it is also useful to fi…

Clone DetectionCode SearchDecoderInformation Retrieval+1

Advanced Detection of Source Code Clones via an Ensemble of Unsupervised Similarity Measures

2024-05-03 · Jorge Martinez-Gil

The capability of accurately determining code similarity is crucial in many tasks related to software development. For example, it might be essential to identify code duplicates for performing software maintenance. This …

Clone DetectionCode SearchEnsemble Learning

Towards Learning (Dis)-Similarity of Source Code from Program Contrasts

2021-10-08 · ACL 2022 5 · Yangruibo Ding, Luca Buratti, Saurabh Pujar, Alessandro Morari 외

Understanding the functional (dis)-similarity of source code is significant for code modeling tasks such as software vulnerability and code clone detection. We present DISCO(DIS-similarity of COde), a novel self-supervis…

Clone DetectionContrastive LearningData AugmentationLanguage Modelling