Systematic reuse of software artifacts can be achieved with software product lines, which represent a family of similar software systems. A variability model, e.g., feature model, describes their commonalities and variabilities and serves as a basis for a product conguration, i.e., the selection of features according to constraints defined in the model. These variability models can contain additional information, such as attributes, which enrich features with typed values for various purposes (e.g., optimization, simplified readability). Typically, these attributes are not directly reusable in code artifacts as the variability model is only used to assemble or change code artifacts according to a product configuration. Furthermore, there are many languages for implementing software product lines such as DeltaJ which do not support the direct propagation of feature attributes to the associated code artifacts. In this paper, we present parametric DeltaJ, an adaptation of the programming language DeltaJ for delta-oriented software product lines in Java. parametric DeltaJ allows the propagation of typed attributes from an attributed feature model to Java code artifacts. We perform a case study to show that introducing parameters reduces the number of variables, delta modules and lines of code for delta-oriented software product lines.

Parametric DeltaJ 1.5: Propagating feature attributes into implementation artifacts

DAMIANI, Ferruccio;
2016-01-01

Abstract

Systematic reuse of software artifacts can be achieved with software product lines, which represent a family of similar software systems. A variability model, e.g., feature model, describes their commonalities and variabilities and serves as a basis for a product conguration, i.e., the selection of features according to constraints defined in the model. These variability models can contain additional information, such as attributes, which enrich features with typed values for various purposes (e.g., optimization, simplified readability). Typically, these attributes are not directly reusable in code artifacts as the variability model is only used to assemble or change code artifacts according to a product configuration. Furthermore, there are many languages for implementing software product lines such as DeltaJ which do not support the direct propagation of feature attributes to the associated code artifacts. In this paper, we present parametric DeltaJ, an adaptation of the programming language DeltaJ for delta-oriented software product lines in Java. parametric DeltaJ allows the propagation of typed attributes from an attributed feature model to Java code artifacts. We perform a case study to show that introducing parameters reduces the number of variables, delta modules and lines of code for delta-oriented software product lines.
2016
Workshops of the Conference on Software Engineering, SE-WS 2016
Wien, Austria
23 February 2016 through 26 February 2016
CEUR Workshop Proceedings
CEUR-WS
1559
40
54
http://ceur-ws.org/
http://ceur-ws.org/Vol-1559/
Software Product Lines, Varabilitity Model, Delta-oriented Programming, Java
Winkelmann, Tim; Koscielny, Jonathan; Seidl, Christoph; Schuster, Sven; Damiani, Ferruccio; Schaefer, Ina
File in questo prodotto:
File Dimensione Formato  
CEUR-WS-2016.pdf

Accesso aperto

Descrizione: Articolo principale (workshop)
Tipo di file: PDF EDITORIALE
Dimensione 774.89 kB
Formato Adobe PDF
774.89 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1583067
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 13
  • ???jsp.display-item.citation.isi??? ND
social impact