Generating range fixes for software configuration
Yingfei Xiong, Arnaud Hubaux, Steven She et al. · 2012
Abstract—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, failing to cover the solution that the user wants; 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 five open source projects. Our evaluation shows that, even with the most complex strategy, our approach generates complete fix lists that are mostly short and concise, in a fraction of a second. I.
Cited by 53 works. doi:10.5555/2337223.2337231
Authors
References
- Feature-Oriented Domain Analysis (FODA) Feasibility Study
- A theory of diagnosis from first principles
- Z3: An Efficient SMT Solver
- Software Product Lines: Practices and Patterns
- The SMT-LIB Standard Version 2.0
- A correction to the algorithm in reiter's theory of diagnosis
- QUICKXPLAIN: preferred explanations and relaxations for over-constrained problems
- Automatic detection and repair of errors in data structures
- Feature diagrams and logics: There and back again
- Consistency-based diagnosis of configuration knowledge bases