[Paper Review] On GitHub's Programming Languages
This paper presents a large-scale analysis of GitHub's ecosystem from 2007 to 2014, using a dataset of 10 million users, 16 million repositories, and 3 billion contributions. By applying k-means clustering to user-repository-commit matrices, it identifies two dominant clusters of programming languages—web (JavaScript, Ruby, PHP, CSS) and system-oriented (C, C++, Python)—and constructs a user-driven phylogenetic tree of language relationships, revealing structural patterns in open-source software development.
GitHub is the most widely used social, distributed version control system. It has around 10 million registered users and hosts over 16 million public repositories. Its user base is also very active as GitHub ranks in the top 100 Alexa most popular websites. In this study, we collect GitHub's state in its entirety. Doing so, allows us to study new aspects of the ecosystem. Although GitHub is the home to millions of users and repositories, the analysis of users' activity time-series reveals that only around 10% of them can be considered active. The collected dataset allows us to investigate the popularity of programming languages and existence of pattens in the relations between users, repositories, and programming languages. By, applying a k-means clustering method to the users-repositories commits matrix, we find that two clear clusters of programming languages separate from the remaining. One cluster forms for "web programming" languages (Java Script, Ruby, PHP, CSS), and a second for "system oriented programming" languages (C, C++, Python). Further classification, allow us to build a phylogenetic tree of the use of programming languages in GitHub. Additionally, we study the main and the auxiliary programming languages of the top 1000 repositories in more detail. We provide a ranking of these auxiliary programming languages using various metrics, such as percentage of lines of code, and PageRank.
Motivation & Objective
- To understand the structural and dynamic patterns of programming language usage across GitHub’s vast open-source ecosystem.
- To identify correlations and hierarchical relationships between programming languages based on user contributions and repository interactions.
- To analyze the popularity and auxiliary use of programming languages in top repositories, using metrics like code lines and PageRank.
- To construct a user-driven phylogenetic tree of programming languages to reveal evolutionary and functional relationships.
- To provide a publicly available, comprehensive dataset for future research on software development dynamics.
Proposed method
- Collected a full mirror of GitHub’s state from 2007 to 2014, including users, repositories, contributions, and user relationships.
- Constructed a user-repository-commits matrix to represent contribution patterns across developers and projects.
- Applied k-means clustering to identify distinct groupings of programming languages based on co-occurrence in repositories.
- Used hierarchical clustering and unsupervised learning to derive a phylogenetic tree of programming languages based on user-repository interactions.
- Analyzed the top 1000 repositories to identify main and auxiliary programming languages, using code-line percentages and PageRank for ranking.
- Compared findings with external sources like Stack Overflow and TIOBE to validate language popularity trends.
Experimental results
Research questions
- RQ1What are the dominant structural patterns in the use of programming languages across GitHub’s repositories?
- RQ2How do programming languages cluster based on their co-occurrence in user contributions and repositories?
- RQ3What is the relationship between main and auxiliary programming languages in modern software projects?
- RQ4How do metrics like code-line percentage and PageRank rank auxiliary programming languages in top repositories?
- RQ5To what extent do user-driven interactions on GitHub reflect a phylogenetic-like evolution of programming language usage?
Key findings
- Only about 10% of GitHub’s 10 million users are considered active based on time-series contribution patterns.
- Two distinct clusters of programming languages emerge: web programming (JavaScript, Ruby, PHP, CSS) and system-oriented languages (C, C++, Python).
- The phylogenetic tree of programming languages, derived from user-repository interactions, reveals a hierarchical structure reflecting functional and usage-based relationships.
- In the top 1000 repositories, multiple programming languages are commonly used, with JavaScript and HTML/CSS frequently appearing as auxiliary languages.
- PageRank and code-line percentage identify different top auxiliary languages: JavaScript ranks highly in both, while languages like TypeScript and Go show strong presence in high-impact repositories.
- The study confirms that language popularity on GitHub correlates with but is not identical to rankings from Stack Overflow and TIOBE, indicating platform-specific dynamics.
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.