Capture the Feature Flag
Authors:
Open Access
- 29 June 2020
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 169-173
Abstract
Feature flags (a.k.a feature toggles) are a mechanism to keep new features hidden behind a boolean option during development. Flags are used for many purposes, such as A/B testing and turning off a feature more easily in case of failures. While software engineering research on feature flags is burgeoning, examples of software projects using flags rarely come from outside commercial and private projects, stifling academic progress. To address this gap, in this paper we present a novel semi-automated mining software repositories approach to detect feature flags in open-source projects, based on analyzing the projects' commit messages and other project characteristics. With our approach, we search over all open-source GitHub projects, finding multiple thousand plausible and active candidate feature flagging projects. We manually validate projects and assemble a dataset of 100 confirmed feature flagging projects. To demonstrate the benefits of our detection technique, we report on an initial analysis of feature flags in the validated sample of 100 projects, investigating practices that correlate with shorter flag lifespans (typically desirable to reduce technical debt), such as using the issue tracker and having a flag owner.Keywords
This publication has 8 references indexed in Scilit:
- Exploring differences and commonalities between feature flags and configuration options2020
- The modular and feature toggle architectures of Google ChromeEmpirical Software Engineering, 2018
- The Top 10 Adages in Continuous DeploymentIEEE Software, 2017
- Holistic configuration management at Facebook2015
- Hey, you have given me too many knobs!: understanding and dealing with over-designed configuration in system software2015
- Designing and deploying online field experiments2014
- Overlapping experiment infrastructure2010
- Evolution of the Linux Kernel Variability Model2010