Large-Scale Code Reuse in Open Source Software
Audris Mockus · 2007
We are exploring the practice of large-scale reuse involving at least a group of source code files. Our research question is to determine the extent of such reuse occurring in open source projects, to identify the code that is reused the most, and to investigate patterns of large-scale reuse. We start by identifying a sample of projects involving all code in several large repositories of open source projects, all projects bundled with popular distributions of Linux and BSD, and several large individual projects. In the next step we obtain the source code and identify groups of files reused among projects and determine the code that is most widely reused in our sample. Our findings indicate that more than 50% of the files were used in more than one project. The most widely reused components were small and represented templates requiring major and minor modifications and a group of files reused without any change. Some widely reused components involved hundreds of files.
Cited by 128 works. doi:10.1109/floss.2007.10
Authors
References
- CCFinder: a multilinguistic token-based code clone detection system for large scale source code
- On finding duplication and near-duplication in large software systems
- Analytical and empirical evaluation of software reuse metrics
- An empirical study of software reuse vs. defect-density and stability
- Software Process Improvement in the NASA Software Engineering Laboratory
- Improved tool support for the investigation of duplication in software
- Component rank: relative significance rank for software component search
- Analytical and empirical evaluation of software reuse metrics
- Component rank: relative significance rank for software component search
- Constructing universal version history