Master thesis
Cite …

Solver Representations for Cardinality-based Feature Models

Abstract

Software Product Lines (SPLs) are the preferred methodology for modelling and managing the variabilities of software systems. Feature models are the de-facto standard for modelling SPLs, for which many analytical tools for the detection of, for instance, dead features or false optional features, have been developed. However, for more complex domains such as cloud computing and cyber-physical systems, customers may not only want to configure whether they require the feature but also specify the number of instances needed of a given feature. Cardinality-based Feature Models (CFMs) are an extension of Boolean Feature Models (FMs) that incorporates cardinalities and cardinality constraints into modelling approaches to address the modelling of more complex systems. Unfortunately, this extension is deficient in terms of the provision of tools for analysis and instance generation. Thus, this thesis proposes a range of approaches for the analysis of the CFMs, including multi-set, naive cloning approach, and improved cloning approach with integer leaves. Furthermore, this thesis puts forward solver representations for each of the disparate approaches with three distinct solvers: Satisfiability Modulo Theories (SMT), Integer Linear Program (ILP), and Constraint Satisfaction Problem (CSP). The feasibility of the different approaches for anomaly analysis and instance generation is evaluated, and the performance of the approaches in the different solver representations is compared. The results demonstrate that for the majority of the anomalies, the multi-set approach is both feasible and most performant for the bound analysis. However, in order to identify all anomalies, it is necessary to conduct a gap analysis using one of the cloning approaches. The cloning approach with integer leaves thus demonstrates superior performance in terms of anomaly analysis. Also, the two CSP cloning approaches showed the best performance for instance generation for both CFMs and FMs. In conclusion, the performance of the CSP solver encodings was found to be superior in all areas of the study, including the various approaches and analysis operations.