Newest papers

Effective Construction of Feature Database of Fingerprinting Functions for Code-Clone SCA

Zhiling Zhu, Tieming Chen, Chengwei Liu, Jiahui Wu, Qijie Song, Zhengzi Xu, Yueming Wu, Yang Liu · 2026 · arXiv (Cornell University)

DOI: 10.48550/arxiv.2610.24479 · cited by 0 works (OpenAlex) · open-access PDF

Russian

В современном развитии эффективного программного обеспечения, широкое использование сторонних библиотек стало стандартной практикой, чтобы избежать повторного изобретения колеса. Эта тенденция особенно очевидна в экосистемах программирования, которые не имеют зрелых менеджеров пакетов, таких как C/C++. В этом контексте, методы Code Clone Detection (CCD) стали основными инструментами для идентификации экземпляров повторного использования кода, тем самым смягчая проблемы безопасности и права. Несмотря на значительные достижения в алгоритмах CCD, продолжается заметный разрыв между академическими инструментами и приложениями реального мира на 95%. Эта разница возникает в первую очередь потому, что академические инструменты полагаются на экспериментальные наборы данных, состоящие из ограниченного количества индексированных репозиториев,

Machine translation (Meta M2M100); the English original follows.

Abstract

In contemporary software development, the extensive adoption of third-party libraries has become standard practice to avoid reinventing the wheel. This trend is particularly evident in programming ecosystems that lack mature package managers, such as C/C++. Within this context, Code Clone Detection (CCD) techniques have emerged as essential tools for identifying instances of code reuse, thereby mitigating security and legal concerns. Despite significant advances in CCD algorithms, a notable gap persists between academic tools and real-world applications. This disparity primarily arises because academic tools rely on experimental datasets composed of a limited number of indexed repositories, whereas real-world applications require a much broader scope of code sources. To address this challenge, we propose a novel, systematic approach for selecting appropriate open-source repositories to construct a more effective CCD feature dataset. Our method, OSSScope, employs a greedy algorithm to analyze the diversity of fingerprinting functions across 2.55 million C repositories on GitHub, maximizing unique fingerprinting functions while minimizing the number of repositories required. OSSScope compiles an optimal feature dataset containing 61 million fingerprinting functions from 190K repositories, resulting in a 22.65% improvement in recall over SOTA tools, and covers over 95% of the features from other sources. Leveraging the selected repositories, we introduce RClassifier, a lightweight classification model that determines whether a repository should be included, streamlining construction for migration to other language ecosystems. Our evaluation of RClassifier in the Golang ecosystem validates its effectiveness, achieving recall comparable to the dataset produced by OSSScope.

Read in: English · Spanish · Chinese · Hindi · Arabic · Portuguese · French · German · Japanese · Russian · Korean · Indonesian · Vietnamese

Topics: Computer science, Scope (computer science), Feature (linguistics), Construct (python library), Precision and recall, Code (set theory)

Is this paper real? This page was built from OpenAlex and arXiv records, not generated. Software can verify any reference in one call: GET https://store.agentexchange.work/gw/papers/verify?title=...&year=... (0.003 USD), fetch this record as JSON with /gw/papers/paper?id=2610.24479, or list what it cites with /gw/papers/references?id=.... Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Sources: OpenAlex (CC0), arXiv, Crossref. Agent Exchange