Faster bug detection for software product lines with incomplete feature models

Sabrina Souto, Divya Gopinath, Marcelo D'Amorim, Darko Marinov, Sarfraz Khurshid, Don Batory

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

A software product line (SPL) is a family of programs that are differentiated by features-increments in functionality. Systematically testing an SPL is challenging because it requires running each test of a test suite against a combinatorial number of programs. Feature models capture dependencies among features and can (1) reduce the space of programs to test and (2) enable accurate categorization of failing tests as failures of programs or the tests themselves, not as failures due to illegal combinations of features. In practice, sadly, feature models are not always available. We introduce SPLif, the first approach for testing SPLs that does not require the a priori availability of feature models. Our insight is to use a profile of passing and failing test runs to quickly identify failures that are indicative of real problems in test or code rather than specious failures due to illegal feature combinations. Experimental results on five SPLs and one large configurable system (GCC) demonstrate the effectiveness of our approach. SPLif enabled the discovery of five news bugs in GCC, three of which have already been fixed.

Original languageEnglish (US)
Title of host publicationProceedings - 19th International Software Product Line Conference, SPLC 2015
PublisherAssociation for Computing Machinery
Pages151-160
Number of pages10
ISBN (Electronic)9781450336130
DOIs
StatePublished - Jul 20 2015
Event19th International Software Product Line Conference, SPLC 2015 - Nashville, United States
Duration: Jul 20 2015Jul 24 2015

Publication series

NameACM International Conference Proceeding Series
Volume20-24-July-2015

Other

Other19th International Software Product Line Conference, SPLC 2015
Country/TerritoryUnited States
CityNashville
Period7/20/157/24/15

Keywords

  • Feature models
  • GCC
  • Software testing

ASJC Scopus subject areas

  • Software
  • Human-Computer Interaction
  • Computer Vision and Pattern Recognition
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'Faster bug detection for software product lines with incomplete feature models'. Together they form a unique fingerprint.

Cite this