Range Fixes: Interactive Error Resolution for Software Configuration
Yingfei Xiong, Hansheng Zhang, Arnaud Hubaux et al. · IEEE Transactions on Software Engineering · 2014
To prevent ill-formed configurations, highly configurable software often allows defining constraints over the available options. As these constraints can be complex, fixing a configuration that violates one or more constraints can be challenging. Although several fix-generation approaches exist, their applicability is limited because (1) they typically generate only one fix or a very long fix list, difficult for the user to identify the desirable fix; and (2) they do not fully support non-Boolean constraints, which contain arithmetic, inequality, and string operators. This paper proposes a novel concept, range fix, for software configuration. A range fix specifies the options to change and the ranges of values for these options. We also design an algorithm that automatically generates range fixes for a violated constraint. We have evaluated our approach with three different strategies for handling constraint interactions, on data from nine open source projects over two configuration platforms. The evaluation shows that our notion of range fix leads to mostly simple yet complete sets of fixes, and our algorithm is able to generate fixes within one second for configuration systems with a few thousands options and constraints.
Cited by 32 works. doi:10.1109/tse.2014.2383381
Authors
References
- A theory of diagnosis from first principles
- Z3: An Efficient SMT Solver
- Constraint propagation with interval labels
- A correction to the algorithm in reiter's theory of diagnosis
- QUICKXPLAIN: preferred explanations and relaxations for over-constrained problems
- An empirical study on configuration errors in commercial and open source systems
- Consistency-based diagnosis of configuration knowledge bases
- Path Feasibility Analysis for String-Manipulating Programs
- Automated error analysis for the agilization of feature modeling
- FAST BACKTRACK-FREE PRODUCT CONFIGURATION USING A PRECOMPILED SOLUTION SPACE REPRESENTATION