Local Features: Enhancing Variability Modeling in Software Product Lines

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: de Castro, David, Cortiñas, Alejandro, Luaces, Miguel R., Pedreira, Oscar, Places, Ángeles Saavedra
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909148084436992
author de Castro, David
Cortiñas, Alejandro
Luaces, Miguel R.
Pedreira, Oscar
Places, Ángeles Saavedra
author_facet de Castro, David
Cortiñas, Alejandro
Luaces, Miguel R.
Pedreira, Oscar
Places, Ángeles Saavedra
contents Context and motivation: Software Product Lines (SPL) enable the creation of software product families with shared core components using feature models to model variability. Choosing features from a feature model to generate a product may not be sufficient in certain situations because the application engineer may need to be able to decide on configuration time the system's elements to which a certain feature will be applied. Therefore, there is a need to select which features have to be included in the product but also to which of its elements they have to be applied. Objective: We introduce local features that are selectively applied to specific parts of the system during product configuration. Results: We formalize local features using multimodels to establish relationships between local features and other elements of the system models. The paper includes examples illustrating the motivation for local features, a formal definition, and a domain-specific language for specification and implementation. Finally, we present a case study in a real scenario that shows how the concept of local features allowed us to define the variability of a complex system. The examples and the application case show that the proposal achieves higher customization levels at the application engineering phase.
format Preprint
id arxiv_https___arxiv_org_abs_2403_15821
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Local Features: Enhancing Variability Modeling in Software Product Lines
de Castro, David
Cortiñas, Alejandro
Luaces, Miguel R.
Pedreira, Oscar
Places, Ángeles Saavedra
Software Engineering
Context and motivation: Software Product Lines (SPL) enable the creation of software product families with shared core components using feature models to model variability. Choosing features from a feature model to generate a product may not be sufficient in certain situations because the application engineer may need to be able to decide on configuration time the system's elements to which a certain feature will be applied. Therefore, there is a need to select which features have to be included in the product but also to which of its elements they have to be applied. Objective: We introduce local features that are selectively applied to specific parts of the system during product configuration. Results: We formalize local features using multimodels to establish relationships between local features and other elements of the system models. The paper includes examples illustrating the motivation for local features, a formal definition, and a domain-specific language for specification and implementation. Finally, we present a case study in a real scenario that shows how the concept of local features allowed us to define the variability of a complex system. The examples and the application case show that the proposal achieves higher customization levels at the application engineering phase.
title Local Features: Enhancing Variability Modeling in Software Product Lines
topic Software Engineering
url https://arxiv.org/abs/2403.15821