<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Unleashing the potential of configuration counting for product-line analyses

Loading...
Thumbnail Image

Date

2026-01-16

Authors

Sundermann, Chico

Journal Title

Journal ISSN

Volume Title

Publication type

Document version

Distributor

Universität Ulm

Published in

Abstract

Product lines are part of most areas in our daily lives: cars, smartphones, personal computers, operating systems, and many more everyday commodities are highly customizable allowing users to select from hundreds or thousands of features to derive their tailored products. This large variability introduces various challenges for product-line engineers, management, and even users. One crucial challenge is understanding and managing the complexity of dependencies between features that disallow certain combinations of features (i.e., configurations) in final products. To tackle this complexity, a plethora of automated analyses have been proposed. Over the recent years, several analyses emerged in literature and industry that depend on configuration counting (i.e., computing the number of valid configurations). These counting-based analyses span over the whole product-line development cycle supporting different stakeholders in understanding the configurability. For instance, unexpected changes in the configuration count can be used to detect design errors or the number of valid configurations containing a certain feature can be used to prioritize for resource allocation. Despite the consideration of configuration counting in research and practice over several domains, we identified three substantial hurdles for its applicability in practice which we tackle in this thesis: (1) knowledge on the possibilities facilitated by configuration counting is limited, (2) scalability in practice is largely unknown, and (3) as revealed by our work, scalable solutions for many applications are missing and demanded. Even though some applications of configuration counting have been considered in research and practice, they are scattered across various publications, and computation instructions are often missing. Furthermore, within industry collaborations, we employed various novel applications in practice. As our first major contribution, we provide an overview of applications facilitated by configuration counting and classify the kinds of counting problems the applications depend on. Covering applications from literature and practice, our survey indicates the relevance of configuration counting for product-line engineering. However, configuration counting bases on the computationally complex problem of model counting (aka. #SAT). Even worse, our survey reveals that most applications rely on numerous counting operations. For systems in practice, some applications may require thousands or even millions of counting operations. Thus, to employ the identified applications, scalable solutions are required. The performance of available solutions for configuration counting in practice is largely unknown. As our second major contribution, we examine the scalability of state-of-the-art strategies for configuration counting. In particular, we empirically evaluate the performance of 21 #SAT solvers on computing the number of valid configurations of industrial product lines. The evaluation reveals that available #SAT solvers scale to most industrial systems, but even the fastest solvers require a few seconds for many instances, which exceeds acceptable runtimes for applications depending on many counting operations. The limited scalability of available solutions for applications relying on myriads of queries hinder adoption in practice. With our third contribution, we tackle the scalability for the multitude of counting queries. Our key idea for accelerating many counting queries employs knowledge compilation, which translates the dependencies between features into a format that enables more efficient counting queries. Here, we collect and compare various knowledge-compilation formats and identify d-DNNFs as a sweet spot regarding capabilities for configuration counting and effort required to compile into the respective format. To expand the applicability of d-DNNFs for configuration counting, we provide optimized strategies to query a d-DNNF and two novel strategies to compile dependencies between features into a d-DNNF. Each of our proposals substantially outperforms the previous state of the art, scaling for vastly more systems and reducing runtimes from days to seconds in some cases. We already applied the proposals within industry collaborations enabling analysis of systems within seconds which did not scale at all with the previous state of the art.

Description

Faculties

Fakultät für Ingenieurwissenschaften, Informatik und Psychologie

DFG Project uulm

EU Project uulm

Other projects uulm

Citation

Is version of

Has version

Supplement to

Supplemented by

Has erratum

Erratum to

Has Part

Chico Sundermann, Michael Nieke, Paul Maximilian Bittner, Tobias Heß, Thomas Thüm, and Ina Schaefer. “Applications of #SAT Solvers on Feature Models”. In: Proc. Int’l Working Conf. on Variability Modelling of Software-Intensive Systems (VaMoS). ACM, 2021. doi: https://doi.org/10.1145/3442391.3442404
Chico Sundermann, Elias Kuiter, Tobias Heß, Heiko Raab, Sebas- tian Krieter, and Thomas Thüm. “On the Benefits of Knowledge Compila- tion for Feature-Model Analyses”. In: Annals of Mathematics and Artificial Intelligence (AMAI) 92.5 (2024), pp. 1013–1050. doi: https://doi.org/10.1007/s10472-023-09906-6
Chico Sundermann, Tobias Heß, Michael Nieke, Paul Maximilian Bittner, Jeffrey M. Young, Thomas Thüm, and Ina Schaefer. “Evaluating State-of-the-Art #SAT Solvers on Industrial Configuration Spaces”. In: Empirical Software Engineering (EMSE) 28.2 (2023), p. 38. doi: https://doi.org/10.1007/s10664-022-10265-9
Chico Sundermann, Thomas Thüm, and Ina Schaefer. “Evaluating #SAT Solvers on Industrial Feature Models”. In: Proc. Int’l Working Conf. on Variability Modelling of Software-Intensive Systems (VaMoS). ACM, 2020. doi: https://doi.org/10.1145/3377024.3377025
Chico Sundermann, Vincenzo Francesco Brancaccio, Elias Kuiter, Sebastian Krieter, Tobias Heß, and Thomas Thüm. “Collecting Feature Models from the Literature: A Comprehensive Dataset for Benchmarking”. In: Proc. Int’l Systems and Software Product Line Conf. (SPLC). ACM, 2024, pp. 54–65. doi: https://doi.org/10.1145/3646548.3672590
Chico Sundermann, Heiko Raab, Tobias Heß, Thomas Thüm, and Ina Schaefer. “Reusing d-DNNFs for Efficient Feature-Model Counting”. In: Trans. on Software Engineering and Methodology (TOSEM) 33.8 (2024). doi: https://doi.org/10.1145/3680465
Chico Sundermann, Jacob Loth, and Thomas Thüm. “Efficient Slicing of Feature Models via Projected d-DNNF Compilation”. In: Proc. Int’l Conf. on Automated Software Engineering (ASE). ACM, 2024, pp. 1332–1344. doi: https://doi.org/10.1145/3691620.3695594

Part of

DOI external

DOI external

Institutions

Periodical

Degree Program

DFG Project THU

EU Project THU

Other projects THU

Series

Collections

Endorsement

Review

Supplemented By

Referenced By

Zeitraum:

Creative Commons license

Except where otherwised noted, this item's license is described as CC BY 4.0 International