How the adoption of feature toggles correlates with branch merges and defects in open‐source projects?. (27th September 2021)
- Record Type:
- Journal Article
- Title:
- How the adoption of feature toggles correlates with branch merges and defects in open‐source projects?. (27th September 2021)
- Main Title:
- How the adoption of feature toggles correlates with branch merges and defects in open‐source projects?
- Authors:
- Prutchi, Eduardo S.
de S. Campos Junior, Heleno
Murta, Leonardo G. P. - Abstract:
- Abstract: Context: Branching has been widely adopted in version control to enable collaborative software development. However, the isolation caused by branches may impose challenges on the upcoming merging process. Recently, companies like Google, Microsoft, Facebook, and Spotify, among others, have adopted trunk‐based development together with feature toggles. This strategy enables collaboration without the need for isolation through branches, potentially reducing the merging challenges. However, the literature lacks evidence about the benefits and limitations of feature toggles to collaborative software development. Objective/method: In this article, we study the effects of applying feature toggles on 949 open‐source projects written in six different programming languages. We first identified the moment in which each project adopted a feature toggles framework. Then, we observed whether the adoption implied significant changes in the frequency or complexity of branch merges and the number of defects, and the average time to fix them. Finally, we compared the obtained results with results obtained from a set of control projects that do not use feature toggles frameworks. Results/conclusion: We could observe a reduction in the average merge effort and an increase in the average total time needed to fix defects after adopting feature toggles frameworks. However, we could not confirm that this increase was influenced by the use of feature toggles.
- Is Part Of:
- Software, practice & experience. Volume 52:Number 2(2022)
- Journal:
- Software, practice & experience
- Issue:
- Volume 52:Number 2(2022)
- Issue Display:
- Volume 52, Issue 2 (2022)
- Year:
- 2022
- Volume:
- 52
- Issue:
- 2
- Issue Sort Value:
- 2022-0052-0002-0000
- Page Start:
- 506
- Page End:
- 536
- Publication Date:
- 2021-09-27
- Subjects:
- branch -- defect -- feature toggles -- merge -- trunk‐based development
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.3034 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 20365.xml