Assessing the Value of Branches with What-if Analysis – FSE 2012

by Christian Bird, Thomas Zimmermann

Branches within source code management systems (SCMs) allow a software project to divide work among its teams for concurrent development by isolating changes. However, this benefit comes with several costs: increased time required for changes to move through the system and pain and error potential when integrating changes across branches. In this paper, we present the results of a survey to characterize how developers use branches in a large industrial project and common problems that they face. One of the major problems mentioned was the long delay that it takes changes to move from one team to another, which is often caused by having too many branches (branchmania). To monitor branch health, we introduce a novel what-if analysis to assess alternative branch structures with respect to isolation and liveness. We demonstrate with several scenarios how our what-if analysis can support branch decisions. By removing high-cost-low-value branches in Windows based on our what-if analysis, changes would each have saved 8.9 days of delay and only introduced 0.04 additional conflicts on average.

Download as PDF.

Reference

Christian Bird, Thomas Zimmermann. Assessing the Value of Branches with What-if Analysis. In Proceedings of the 20th International Symposium on Foundations of Software Engineering (FSE 2012), Research Triangle Park, NC, USA, November 2012.

BibTeX Entry

@inproceedings{bird-fse-2012,
    title = "Assessing the Value of Branches with What-if Analysis",
    author = "Christian Bird and Thomas Zimmermann",
    year = "2012",
    month = "November",
    booktitle = "Proceedings of the 20th International Symposium on Foundations of Software Engineering",
    location = "Research Triangle Park, NC, USA",
}