Electronic Proceedings in Theoretical Computer Science (Mar 2016)

Analysis of Feature Models Using Alloy: A Survey

  • Anjali Sree-Kumar,
  • Elena Planas,
  • Robert Clarisó

DOI
https://doi.org/10.4204/EPTCS.206.5
Journal volume & issue
Vol. 206, no. Proc. FMSPLE 2016
pp. 46 – 60

Abstract

Read online

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.