arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.09885cs.SEcs.IR
收藏

使用无监督相似性度量的源代码克隆检测

Source Code Clone Detection Using Unsupervised Similarity Measures

Jorge Martinez-Gil

AI总结:

本文比较分析了多种无监督相似性度量在源代码克隆检测中的性能,并在基准数据集上评估其优劣,为软件工程师选择合适方法提供指导。

摘要:

近年来,评估源代码相似性因其在克隆检测、代码搜索与推荐等软件工程任务中的重要性而受到广泛关注。本文对用于识别源代码克隆检测的无监督相似性度量进行了比较分析。目标是概述当前最先进的技术、它们的优势与不足。为此,我们整理了现有的无监督策略,并在基准数据集上评估其性能,以指导软件工程师根据其特定用例选择合适的方法。本研究的源代码可在 https://github.com/jorge-martinez-gil/codesim 获取。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑