Title :
Generating range fixes for software configuration
Author :
Xiong, Yingfei ; Hubaux, Arnaud ; She, Steven ; Czarnecki, Krzysztof
Author_Institution :
Generative Software Dev. Lab., Univ. of Waterloo, Waterloo, ON, Canada
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.
Keywords :
configuration management; arithmetic operator; constraint interaction; fix-generation approach; inequality operator; nonBoolean constraint; range fixes; software configuration; string operator; Algorithm design and analysis; Concrete; Linux; Navigation; Reactive power; Semantics; Software;
Conference_Titel :
Software Engineering (ICSE), 2012 34th International Conference on
Conference_Location :
Zurich
Print_ISBN :
978-1-4673-1066-6
Electronic_ISBN :
0270-5257
DOI :
10.1109/ICSE.2012.6227206