From feature models to feature toggles in practice - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2022

From feature models to feature toggles in practice


Feature Toggles (often also referred to as Feature Flags) are a powerful technique, providing an alternative to maintaining multiple feature branches in source code. A condition within the code enables or disables a feature at runtime, hence providing a kind of runtime variability resolution. Several works have already identified the proximity of this concept with the notion of Feature found in Software Product Lines. In this paper, we propose to go one step further in unifying these concepts to provide a seamless transition between design time and runtime variability resolutions. We propose to model all the variability using a feature model. Then this feature model can be partially resolved at design time (yielding an incomplete product derivation), the unresolved variability being used to generate feature toggles that can be enabled/disabled at runtime. We first demonstrate these ideas on the toy example of the Expression Product Line, and then show how it can scale to build a configurable authentication system, where a partially resolved feature model can interface with popular feature toggle frameworks such as Togglz.
Fichier principal
Vignette du fichier
Unifying_SPL_and_Feature_Flags(2).pdf (3.58 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03788437 , version 1 (26-09-2022)



Jean-Marc Jézéquel, Jörg Kienzle, Mathieu Acher. From feature models to feature toggles in practice. SPLC 2022 - 26th ACM International Systems and Software Product Line Conference, Sep 2022, Graz / Hybrid, Austria. pp.234-244, ⟨10.1145/3546932.3547009⟩. ⟨hal-03788437⟩
50 View
92 Download



Gmail Facebook X LinkedIn More