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

Indonesian

Dalam pengembangan perangkat lunak validasi saat ini, adopsi luas dari perpustakaan pihak ketiga telah menjadi praktik standar untuk menghindari penemuan kembali roda. Tren ini terutama terlihat dalam ekosistem pemrograman yang tidak memiliki manajer paket yang matang, seperti C/C++. Dalam konteks ini, teknik Code Clone Detection (CCD) telah muncul sebagai alat penting untuk mengidentifikasi instansi kode reuse, dengan demikian mengurangi kekhawatiran keamanan dan hukum. Terlepas dari kemajuan yang signifikan dalam algoritma CCD, perbedaan ini terjadi terutama karena alat-alat akademik bergantung pada dataset eksperimental yang terdiri dari sejumlah terbatas repositories yang diindeks, sedangkan aplikasi dunia nyata membutuhkan jangkauan sumber yang jauh lebih luas. Untuk mengatasi tantangan ini, kami mengusulkan pendekatan baru, sistematis untuk memilih alat-alat sumber terbuka yang sesuai untuk membangun fitur data CCD yang lebih efektif.

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