Branch Use in Practice: A Large-Scale Empirical Study of 2,923 Projects on GitHub
Authors:
- 1 July 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 306-317
Abstract
Branching is often used to help developers work in parallel during distributed software development. Previous studies have examined branch usage in practice. However, most studies perform branch analysis on industrial projects or only a small number of open source software (OSS) systems. There are no broad examinations of how branches are used across OSS communities. Due to the rapidly increasing popularity of collaboration in OSS projects, it is important to gain insights into the practice of branch usage in these communities. In this paper, we performed an empirical study on branch usage for 2,923 projects developed on GitHub. Our work mainly studies the way developers use branches and the effects of branching on the overall productivity of these projects. Our results show that: 1) Most projects use a few branches (<5) during development; 2) Large scale projects tend to use more branches than small scale projects. 3) Branches are mainly used to implement new features, conduct version iteration, and fix bugs. 4) Almost all master branches have been requested by contributors to merge their contributions; 5) There always exists a branch playing a more important role in merging contributions than other branches; 6) Almost all commits of more than 75% branches are included in the master branches; 7) The number of branches used in a project has a positive effect on a project's productivity but the effect size is small, and there is no statistically significantly difference between personal projects and organizational projects.Keywords
This publication has 45 references indexed in Scilit:
- A Large Scale Study of License Usage on GitHub2015
- Wait for It: Determinants of Pull Request Evaluation Latency on GitHub2015
- Automatically Prioritizing Pull Requests2015
- Gender and Tenure Diversity in GitHub Teams2015
- When to use the B onferroni correctionOphthalmic and Physiological Optics, 2014
- The Effects of Diversity in Global, Distributed Collectives: A Study of Open Source Project SuccessInformation Systems Research, 2013
- Long-Term Sustainability of Open Source Software Communities beyond a Fork: A Case Study of LibreOffice2012
- High-level best practices in software configuration management1998
- Measuring nominal scale agreement among many raters.Psychological Bulletin, 1971
- On a Test of Whether one of Two Random Variables is Stochastically Larger than the OtherThe Annals of Mathematical Statistics, 1947