28,741 research outputs found
Automated Diagnosis of Product-line Configuration Errors in Feature Models
Feature models are widely used to model software
product-line (SPL) variability. SPL variants are configured
by selecting feature sets that satisfy feature model constraints.
Configuration of large feature models can involve
multiple stages and participants, which makes it hard to
avoid conflicts and errors. New techniques are therefore
needed to debug invalid configurations and derive the minimal
set of changes to fix flawed configurations.
This paper provides three contributions to debugging
feature model configurations: (1) we present a technique
for transforming a flawed feature model configuration into
a Constraint Satisfaction Problem (CSP) and show how a
constraint solver can derive the minimal set of feature selection
changes to fix an invalid configuration, (2) we show
how this diagnosis CSP can automatically resolve conflicts
between configuration participant decisions, and (3)
we present experiment results that evaluate our technique.
These results show that our technique scales to models with
over 5,000 features, which is well beyond the size used to
validate other automated techniques.Comisión Interministerial de Ciencia y Tecnología TIN2006-0047
Time-Space Efficient Regression Testing for Configurable Systems
Configurable systems are those that can be adapted from a set of options.
They are prevalent and testing them is important and challenging. Existing
approaches for testing configurable systems are either unsound (i.e., they can
miss fault-revealing configurations) or do not scale. This paper proposes
EvoSPLat, a regression testing technique for configurable systems. EvoSPLat
builds on our previously-developed technique, SPLat, which explores all
dynamically reachable configurations from a test. EvoSPLat is tuned for two
scenarios of use in regression testing: Regression Configuration Selection
(RCS) and Regression Test Selection (RTS). EvoSPLat for RCS prunes
configurations (not tests) that are not impacted by changes whereas EvoSPLat
for RTS prunes tests (not configurations) which are not impacted by changes.
Handling both scenarios in the context of evolution is important. Experimental
results show that EvoSPLat is promising. We observed a substantial reduction in
time (22%) and in the number of configurations (45%) for configurable Java
programs. In a case study on a large real-world configurable system (GCC),
EvoSPLat reduced 35% of the running time. Comparing EvoSPLat with sampling
techniques, 2-wise was the most efficient technique, but it missed two bugs
whereas EvoSPLat detected all bugs four times faster than 6-wise, on average.Comment: 14 page
Analysis of Feature Models Using Alloy: A Survey
Feature Models (FMs) are a mechanism to model variability among a family of
closely related software products, i.e. a software product line (SPL). Analysis
of FMs using formal methods can reveal defects in the specification such as
inconsistencies that cause the product line to have no valid products. A
popular framework used in research for FM analysis is Alloy, a light-weight
formal modeling notation equipped with an efficient model finder. Several works
in the literature have proposed different strategies to encode and analyze FMs
using Alloy. However, there is little discussion on the relative merits of each
proposal, making it difficult to select the most suitable encoding for a
specific analysis need. In this paper, we describe and compare those strategies
according to various criteria such as the expressivity of the FM notation or
the efficiency of the analysis. This survey is the first comparative study of
research targeted towards using Alloy for FM analysis. This review aims to
identify all the best practices on the use of Alloy, as a part of a framework
for the automated extraction and analysis of rich FMs from natural language
requirement specifications.Comment: In Proceedings FMSPLE 2016, arXiv:1603.0857
- …