Generating range fixes for software configuration
Yingfei Xiong, Arnaud Hubaux, Steven She et al. · Proceedings/Proceedings - International Conference on Software Engineering · 2012
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.
Cited by 45 works. doi:10.1109/icse.2012.6227206
Authors
References
- Feature-Oriented Domain Analysis (FODA) Feasibility Study
- A theory of diagnosis from first principles
- Z3: An Efficient SMT Solver
- 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
- Consistency-based diagnosis of configuration knowledge bases
- Path Feasibility Analysis for String-Manipulating Programs
- Automated error analysis for the agilization of feature modeling
- A systematic review of evaluation of variability management approaches in software product lines