arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1603.00431cs.PL
收藏

关于GitHub的程序设计语言

On GitHub's Programming Languages

Amirali Sanatinia, Guevara Noubir

摘要:

GitHub是使用最广泛的社交、分布式版本控制系统。它拥有约1000万注册用户,托管超过1600万个公共存储库。它的用户群也非常活跃,因为GitHub在Alexa最受欢迎的100个网站中排名第一。在这项研究中,我们收集了GitHub的全部状态。这样做,使我们能够研究生态系统的新方面。虽然GitHub是数百万用户和存储库的所在地,但对用户活动时间序列的分析显示,只有大约10%的用户可以被认为是活跃的。收集的数据集使我们能够调查程序设计语言的流行程度和用户,存储库和程序设计语言之间的关系模式的存在。通过对用户-仓库提交矩阵应用k-均值聚类方法,我们发现程序设计语言的两个明确的集群与其余的分开。一个集群形式为“Web编程”语言(Java Script,Ruby,PHP,CSS),第二个集群形式为“面向系统的编程”语言(C,C++,Python)。进一步的分类,让我们可以在GitHub中建立一个程序设计语言使用的系统发育树。此外,我们更详细地研究了前1000个存储库的主要和辅助程序设计语言。我们使用各种指标(如代码行百分比和PageRank)对这些辅助程序设计语言进行排名。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑