SPLLIFT: statically analyzing software product lines in minutes instead of years

  • Authors:
  • Eric Bodden;Társis Tolêdo;Márcio Ribeiro;Claus Brabrand;Paulo Borba;Mira Mezini

  • Affiliations:
  • Technische Universität Darmstadt, Darmstadt, Germany;Federal University of Pernambuco, Recife, Brazil;Federal University of Alagoas, Maceió, Brazil;IT University of Copenhagen, Copenhagen, Denmark;Federal University of Pernambuco, Recife, Brazil;Technische Universität Darmstadt, Darmstadt, Germany

  • Venue:
  • Proceedings of the 34th ACM SIGPLAN conference on Programming language design and implementation
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

A software product line (SPL) encodes a potentially large variety of software products as variants of some common code base. Up until now, re-using traditional static analyses for SPLs was virtually intractable, as it required programmers to generate and analyze all products individually. In this work, however, we show how an important class of existing inter-procedural static analyses can be transparently lifted to SPLs. Without requiring programmers to change a single line of code, our approach SPLLIFT automatically converts any analysis formulated for traditional programs within the popular IFDS framework for inter-procedural, finite, distributive, subset problems to an SPL-aware analysis formulated in the IDE framework, a well-known extension to IFDS. Using a full implementation based on Heros, Soot, CIDE and JavaBDD, we show that with SPLLIFT one can reuse IFDS-based analyses without changing a single line of code. Through experiments using three static analyses applied to four Java-based product lines, we were able to show that our approach produces correct results and outperforms the traditional approach by several orders of magnitude.