4.5 Article

Spectrum-based fault localization in software product lines

Journal

INFORMATION AND SOFTWARE TECHNOLOGY
Volume 100, Issue -, Pages 18-31

Publisher

ELSEVIER
DOI: 10.1016/j.infsof.2018.03.008

Keywords

Software product lines; Spectrum-based fault localization; Feature models; Debugging

Funding

  1. Department of Education, Universities and Research of the Basque Government
  2. European Commission (FEDER)
  3. Spanish Government under CICYT project BELL [TIN2015-70560-R]
  4. Andalusian Government project COPAS [P12-TIC-1867]

Ask authors/readers for more resources

Context Software Product Line (SPL) testing is challenging mainly due to the potentially huge number of products under test. Most of the research on this field focuses on making testing affordable by selecting a representative subset of products to be tested. However, once the tests are executed and some failures revealed, debugging is a cumbersome and time consuming task due to difficulty to localize and isolate the faulty features in the SPL. Objective: This paper presents a debugging approach for the localization of bugs in SPLs. Method: The proposed approach works in two steps. First, the features of the SPL are ranked according to their suspiciousness (i.e., likelihood of being faulty) using spectrum-based localization techniques. Then, a novel fault isolation approach is used to generate valid products of minimum size containing the most suspicious features, helping to isolate the cause of failures. Results: For the evaluation of our approach, we compared ten suspiciousness techniques on nine SPLs of different sizes. The results reveal that three of the techniques (Tarantula, Kulcynski2 and Ample2) stand out over the rest, showing a stable performance with different types of faults and product suite sizes. By using these metrics, faults were localized by examining between 0.1% and 14.4% of the feature sets. Conclusion: Our results show that the proposed approach is effective at locating bugs in SPLs, serving as a helpful complement for the numerous approaches for testing SPLs.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.5
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available