Cneps: A Precise Approach for Examining Dependencies Among Third-Party C/C++ Open-Source Components

15Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The rise in open-source software (OSS) reuse has led to intricate de-pendencies among third-party components, increasing the demand for precise dependency analysis. However, owing to the presence of reused files that are difficult to identify the originating components (i.e., indistinguishable files) and duplicated components, precisely identifying component dependencies is becoming challenging. In this paper, we present Cneps, a precise approach for examining dependencies in reused C/C++ OSS components. The key idea of Cneps is to use a novel granularity called a module, which represents a minimum unit (i.e., set of source files) that can be reused as a library from another project. By examining dependencies based on modules instead of analyzing single reused files, Cneps can precisely identify dependencies in the target projects, even in the presence of indistinguishable files. To differentiate duplicated components, Cneps examines the cloned paths and originating projects of each component, enabling precise identification of dependencies associated with them. Experimental results on top 100 C/C++ soft-ware show that Cneps outperforms a state-of-the-art approach by identifying twice as many dependencies. Cneps could identify 435 dependencies with 89.9% precision and 93.2% recall in less than 10 seconds per application on average, whereas the existing approach hardly achieved 63.5% precision and 42.5% recall.

Cite

CITATION STYLE

APA

Na, Y., Woo, S., Lee, J., & Lee, H. (2024). Cneps: A Precise Approach for Examining Dependencies Among Third-Party C/C++ Open-Source Components. In Proceedings - International Conference on Software Engineering (pp. 2918–2929). IEEE Computer Society. https://doi.org/10.1145/3597503.3639209

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free