IEEE Transactions on Software Engineering · 2015 · 95 citations · 60 references
EngineeringComputer ScienceSystems EngineeringDesign AutomationRequirements EngineeringSoftware EngineeringConfiguration ManagementConstraint AnalysisConstraint ModelingDomain AnalysisRequirements AnalysisSoftware TestingConfiguration ConstraintsConfiguration ExtractionConfiguration ReasoningConstraintsDomain Knowledge AcquisitionDomain Knowledge ElicitationDomain Knowledge ExtractionStatic Structure Analysis
Highly configurable systems allow users to tailor software to specific needs. Valid combinations of configuration options are often restricted by intricate constraints. Describing options and constraints in a variability model allows reasoning about the supported configurations. To automate creating and verifying such models, we need to identify the origin of such constraints. We propose a static analysis approach, based on two rules, to extract configuration constraints from code. We apply it on four highly configurable systems to evaluate the accuracy of our approach and to determine which constraints are recoverable from the code. We find that our approach is highly accurate (93% and 77% respectively) and that we can recover 28% of existing constraints. We complement our approach with a qualitative study to identify constraint sources, triangulating results from our automatic extraction, manual inspections, and interviews with 27 developers. We find that, apart from low-level implementation dependencies, configuration constraints enforce correct runtime behavior, improve users' configuration experience, and prevent corner cases. While the majority of constraints is extractable from code, our results indicate that creating a complete model requires further substantial domain knowledge and testing. Our results aim at supporting researchers and practitioners working on variability model engineering, evolution, and verification techniques.
60
Basics of Qualitative Research
Julie L. Ozanne, Anselm Strauss, Juliet Corbin · Journal of Marketing Research · 1992 · 17.9K citations
A survey of variability modeling in industrial practice
Thorsten Berger, Ralf Rublack, D. Nair et al. · 2013 · 395 citations
Reasoning about edits to feature models
Thomas Thüm, Don Batory, Christian Kästner · 2009 · 363 citations
An analysis of the variability in forty preprocessor-based software product lines
Jörg Liebig, Sven Apel, Christian Lengauer et al. · 2010 · 308 citations