Detecting and Describing Variability-Aware Design Patterns in Feature-Oriented Software Product Lines

Sven Schuster, Christoph Seidl, Ina Schaefer

Abstract

Software Product Lines (SPLs) enable customization by reusing commonalities and variabilities within a family of similar software systems. Design patterns are best practices of established solutions in object-oriented source code for recurring design challenges. Although certain design patterns realize variability, they are only defined in the context of stand-alone systems and not for SPLs. Employing design patterns to realize variability allows using best practices in design for SPL development. However, the exact usage of design patterns within SPLs has not been explored, and a formal notation to capture their usage within different features does not exist. In this work, we provide a model-based analysis method to determine the variability-aware usage of design patterns in source code within the context of Feature-Oriented Programming (FOP). Moreover, we introduce Family Role Models (FRMs) as an extension to role modeling, which offer a language-independent, unified, formal notation for decomposed design patterns. We apply the analysis method in a case study on the variability-aware usage of design patterns in feature-oriented SPLs and derive FRMs from the results.

Download


Paper Citation


in Harvard Style

Schuster S., Seidl C. and Schaefer I. (2018). Detecting and Describing Variability-Aware Design Patterns in Feature-Oriented Software Product Lines.In Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MOMA3N, ISBN 978-989-758-283-7, pages 731-742. DOI: 10.5220/0006749307310742


in Bibtex Style

@conference{moma3n18,
author={Sven Schuster and Christoph Seidl and Ina Schaefer},
title={Detecting and Describing Variability-Aware Design Patterns in Feature-Oriented Software Product Lines},
booktitle={Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MOMA3N,},
year={2018},
pages={731-742},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006749307310742},
isbn={978-989-758-283-7},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 6th International Conference on Model-Driven Engineering and Software Development - Volume 1: MOMA3N,
TI - Detecting and Describing Variability-Aware Design Patterns in Feature-Oriented Software Product Lines
SN - 978-989-758-283-7
AU - Schuster S.
AU - Seidl C.
AU - Schaefer I.
PY - 2018
SP - 731
EP - 742
DO - 10.5220/0006749307310742