Reengineering an Adaptive System to Dynamic Software Product Lines: An Experience report

Dynamic Software Product Lines (DSPLs) extend traditional Software Product Lines by enabling runtime adaptation through predefined variability points. Despite their benefits, the migration of legacy or adaptive systems to DSPLs remains underexplored, especially through the use of feature toggles. This study aims to investigate how an adaptive AI-based smart home system can be refactored into a DSPL using feature toggles to manage runtime variability and improve modularity, flexibility, and performance. The research involved (i) a literature review on DSPLs and feature toggle strategies, (ii) the creation of feature models from code analysis, documentation, and expert interviews, and (iii) the incremental implementation of 13 feature toggles across three system modules (RecSys, ChatBot, Vision). Two experiments using factorial design were conducted to assess the impact on performance metrics. The refactored system demonstrated improved adaptability and reduced resource usage without performance degradation. Feature toggles enabled real-time activation/deactivation of functionalities, allowing for user-specific configurations and subscription models. However, limitations were found in toggle dependency management, requiring manual coding solutions. Feature toggles proved to be an effective and practical strategy for transforming an adaptive system into a DSPL, enhancing runtime flexibility and system evolution capabilities. The study highlights key considerations for managing toggles, such as modularization, architectural process, and the importance of documentation.

Authors

Publication Details

Published
2025-09-19
DOI
https://doi.org/10.5753/sbcars.2025.14142
Primary Topic
Advanced Software Engineering Methodologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Reengineering an Adaptive System to Dynamic Software Product Lines: An Experience report

Gustavo B. Figueiredo, Cássio Prazeres, Frederico Araújo Dur�ão, Nilton F. S. Seixas et al.
Advanced Software Engineering Methodologies
article

Reengineering an Adaptive System to Dynamic Software Product Lines: An Experience report

Gustavo B. Figueiredo, Cássio Prazeres, Frederico Araújo Dur�ão, Nilton F. S. Seixas, Ivan Machado, Maycon Peixoto, Hérsio Massanori Iwamoto, Rodrigo Rocha Gomes e Souza, Eduardo Santana de Almeida, Mayki dos Santos Oliveira, Marcus Freire, Dhyego Tavares M. da Cruz
article en

Abstract

Dynamic Software Product Lines (DSPLs) extend traditional Software Product Lines by enabling runtime adaptation through predefined variability points. Despite their benefits, the migration of legacy or adaptive systems to DSPLs remains underexplored, especially through the use of feature toggles. This study aims to investigate how an adaptive AI-based smart home system can be refactored into a DSPL using feature toggles to manage runtime variability and improve modularity, flexibility, and performance. The research involved (i) a literature review on DSPLs and feature toggle strategies, (ii) the creation of feature models from code analysis, documentation, and expert interviews, and (iii) the incremental implementation of 13 feature toggles across three system modules (RecSys, ChatBot, Vision). Two experiments using factorial design were conducted to assess the impact on performance metrics. The refactored system demonstrated improved adaptability and reduced resource usage without performance degradation. Feature toggles enabled real-time activation/deactivation of functionalities, allowing for user-specific configurations and subscription models. However, limitations were found in toggle dependency management, requiring manual coding solutions. Feature toggles proved to be an effective and practical strategy for transforming an adaptive system into a DSPL, enhancing runtime flexibility and system evolution capabilities. The study highlights key considerations for managing toggles, such as modularization, architectural process, and the importance of documentation.

Openalex Percentile: Top 87%
Advanced Software Engineering Methodologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.