[Paper Review] World of Code: Enabling a Research Workflow for Mining and Analyzing the Universe of Open Source VCS data
World of Code (WoC) is a scalable, updatable infrastructure that aggregates and cross-references over 18 billion Git objects from the entire open source software ecosystem, enabling large-scale mining and analysis of code, dependencies, and developer activity. It supports global research tasks such as ecosystem measurement, supply chain analysis, and trend detection through efficient data indexing, targeted augmentation, and versioned analytics, making previously infeasible studies on the full FLOSS ecosystem possible.
Open source software (OSS) is essential for modern society and, while substantial research has been done on individual (typically central) projects, only a limited understanding of the periphery of the entire OSS ecosystem exists. For example, how are the tens of millions of projects in the periphery interconnected through. technical dependencies, code sharing, or knowledge flow? To answer such questions we: a) create a very large and frequently updated collection of version control data in the entire FLOSS ecosystems named World of Code (WoC), that can completely cross-reference authors, projects, commits, blobs, dependencies, and history of the FLOSS ecosystems and b) provide capabilities to efficiently correct, augment, query, and analyze that data. Our current WoC implementation is capable of being updated on a monthly basis and contains over 18B Git objects. To evaluate its research potential and to create vignettes for its usage, we employ WoC in conducting several research tasks. In particular, we find that it is capable of supporting trend evaluation, ecosystem measurement, and the determination of package usage. We expect WoC to spur investigation into global properties of OSS development leading to increased resiliency of the entire OSS ecosystem. Our infrastructure facilitates the discovery of key technical dependencies, code flow, and social networks that provide the basis to determine the structure and evolution of the relationships that drive FLOSS activities and innovation.
Motivation & Objective
- To address the lack of comprehensive, cross-referenced data across the entire open source software (FLOSS) ecosystem, which limits global research on code sharing, dependencies, and developer networks.
- To overcome the scalability and data quality challenges of existing tools that focus only on individual or limited sets of projects.
- To enable research on global software supply chain risks, ecosystem dynamics, and innovation patterns by providing a unified, updatable data infrastructure.
- To support reproducible, large-scale empirical studies through versioned data snapshots and efficient query capabilities.
- To facilitate industry and academic research by offering a shared, extensible platform for analyzing the full scope of public version control data.
Proposed method
- The WoC infrastructure ingests and indexes over 18 billion Git objects from public repositories, primarily from GitHub, using a distributed, microservices-based architecture for scalability and extensibility.
- It constructs cross-referenced data structures mapping commits to blobs, projects to authors, and dependencies across repositories, enabling global queries across the entire FLOSS ecosystem.
- The system employs targeted data cleaning and augmentation, such as filtering performance-impacting commits (e.g., those with millions of empty files), to maintain query efficiency without sacrificing core analytical utility.
- A versioning mechanism preserves past states of the Git object store and derived analytics maps, ensuring reproducibility of research results over time.
- The analytics layer uses optimized data structures (e.g., commit-to-file and commit-to-blob maps) to enable linear-time querying, even at scale.
- The platform is built with extensibility in mind, allowing for incremental updates, component replacement, and integration of new data sources or analysis modules.
Experimental results
Research questions
- RQ1How can we enable large-scale, cross-referenced analysis of open source software development across the entire FLOSS ecosystem, rather than limited to individual projects or clusters?
- RQ2What global properties of software ecosystems—such as dependency chains, code reuse patterns, and developer collaboration networks—can be measured at scale using a unified data infrastructure?
- RQ3How can we ensure the reproducibility and reliability of large-scale software mining studies when the underlying data is continuously updated?
- RQ4What are the most effective ways to clean, correct, and augment raw version control data to support accurate and efficient analysis at scale?
- RQ5How can a shared, scalable infrastructure reduce barriers to entry for researchers and industry in studying the global software supply chain and ecosystem sustainability?
Key findings
- The WoC infrastructure successfully ingests and maintains over 18 billion Git objects, enabling large-scale analysis of the open source ecosystem at a scale previously unattainable with project-centric tools.
- The system supports efficient, linear-time querying of complex relationships such as commit-to-file and commit-to-blob mappings, even at massive scale, due to optimized data indexing and filtering of performance-impacting artifacts.
- The platform enables reproducible research by versioning both the Git object store and derived analytics maps, allowing reconstruction of past data states and consistent result reproduction.
- WoC facilitates the discovery of global technical dependencies, code flow, and developer social networks, providing a foundation for understanding the structure and evolution of the FLOSS ecosystem.
- The infrastructure supports diverse research tasks, including ecosystem measurement, trend evaluation, and supply chain analysis, as demonstrated through real-world vignettes and invited researcher use cases.
- The microservices architecture enables modular extension and evolution of the system, supporting future enhancements such as new data sources, analysis pipelines, or integration with industry tools.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.