Abstract
Family-based (lifted) data-flow analysis for Software Product Lines (SPLs) is capable of analyzing all valid products (variants) without generating any of them explicitly. It takes as input only the common code base, which encodes all variants of a SPL, and produces analysis results corresponding to all variants. However, the computational cost of the lifted analysis still depends
inherently on the number of variants (which is exponential in the number of features, in the worst case). For a large number of features, the lifted analysis may be too costly or even infeasible.
In this paper, we introduce variability abstractions defined as Galois connections and use
abstract interpretation as a formal method for the calculational-based derivation of approximate (abstracted) lifted analyses of SPL programs, which are sound by construction. Moreover, given an abstraction we define a syntactic transformation that translates any SPL program into an abstracted version of it, such that the analysis of the abstracted SPL coincides with the corresponding abstracted analysis of the original SPL. We implement the transformation in a tool, that works on Object-Oriented Java program families, and evaluate the practicality of this approach on three Java SPL benchmarks.
inherently on the number of variants (which is exponential in the number of features, in the worst case). For a large number of features, the lifted analysis may be too costly or even infeasible.
In this paper, we introduce variability abstractions defined as Galois connections and use
abstract interpretation as a formal method for the calculational-based derivation of approximate (abstracted) lifted analyses of SPL programs, which are sound by construction. Moreover, given an abstraction we define a syntactic transformation that translates any SPL program into an abstracted version of it, such that the analysis of the abstracted SPL coincides with the corresponding abstracted analysis of the original SPL. We implement the transformation in a tool, that works on Object-Oriented Java program families, and evaluate the practicality of this approach on three Java SPL benchmarks.
Originalsprog | Engelsk |
---|---|
Titel | 29th European Conference on Object-Oriented Programming (ECOOP’15) : Leibniz International Proceedings in Informatics |
Redaktører | John Tang Boyland |
Antal sider | 23 |
Forlag | Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH |
Publikationsdato | 2015 |
Sider | 247-270 |
ISBN (Trykt) | 978-3-939897-86-6 |
DOI | |
Status | Udgivet - 2015 |
Begivenhed | The European Conference on Object-Oriented Programming - Marriott, V Celnici 8 Prague 110 00 CZ, Prague, Tjekkiet Varighed: 5 jul. 2015 → 10 jul. 2015 Konferencens nummer: 29 http://2015.ecoop.org/ |
Konference
Konference | The European Conference on Object-Oriented Programming |
---|---|
Nummer | 29 |
Lokation | Marriott, V Celnici 8 Prague 110 00 CZ |
Land/Område | Tjekkiet |
By | Prague |
Periode | 05/07/2015 → 10/07/2015 |
Internetadresse |
Navn | Leibniz International Proceedings in Informatics (LIPIcs) |
---|---|
ISSN | 1868-8969 |