Spectrum-based fault localization in software product lines

被引:28
|
作者
Arrieta, Aitor [1 ]
Segura, Sergio [2 ]
Markiegi, Urtzi [1 ]
Sagardui, Goiuria [1 ]
Etxeberria, Leire [1 ]
机构
[1] Mondragon Unibertsitatea, Arrasate Mondragon, Spain
[2] Univ Seville, ETS Ingn Informat, Seville, Spain
关键词
Software product lines; Spectrum-based fault localization; Feature models; Debugging; GENERATION; SLICES; MODELS;
D O I
10.1016/j.infsof.2018.03.008
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:18 / 31
页数:14
相关论文
共 50 条
  • [1] Extended Abstract of "Spectrum-Based Fault Localization in Software Product Lines"
    Arrieta, Aitor
    Segura, Sergio
    Markiegi, Urtzi
    Sagardui, Goiuria
    Etxeberria, Leire
    [J]. SPLC'19: PROCEEDINGS OF THE 23RD INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2020, : 13 - 13
  • [2] A Survey of Challenges in Spectrum-Based Software Fault Localization
    Sarhan, Qusay Idrees
    Beszedes, Arpad
    [J]. IEEE ACCESS, 2022, 10 : 10618 - 10639
  • [3] On the accuracy of spectrum-based fault localization
    Abreu, Rui
    Zoeteweij, Peter
    van Gemund, Arjan J. C.
    [J]. TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, : 89 - +
  • [4] Spectrum-based Multiple Fault Localization
    Abreu, Rui
    Zoeteweij, Peter
    van Gemund, Arjan J. C.
    [J]. 2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 88 - 99
  • [5] Contextualizing spectrum-based fault localization
    de Souza, Higor A.
    Mutti, Danilo
    Chaim, Marcos L.
    Kon, Fabio
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 94 : 245 - 261
  • [6] Distributed Spectrum-Based Fault Localization
    Natan, Avraham
    Stern, Roni
    Kalech, Meir
    [J]. THIRTY-SEVENTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 37 NO 5, 2023, : 6491 - 6498
  • [7] Jaguar: a spectrum-based fault localization tool for real-world software
    Ribeiro, Henrique L.
    de Araujo, Roberto P. A.
    Chaim, Marcos L.
    de Souza, Higor A.
    Kon, Fabio
    [J]. 2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2018, : 404 - 409
  • [8] Boosting Spectrum-Based Fault Localization for Spreadsheets with Product Metrics in a Learning Approach
    Mukhtar, Adil
    Hofer, Birgit
    Jannach, Dietmar
    Schekotihin, Konstantin
    Wotawa, Franz
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [9] Understanding the use of spectrum-based fault localization
    de Souza, Higor Amario
    Lauretto, Marcelo de Souza
    Kon, Fabio
    Chaim, Marcos Lordello
    [J]. JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2023, 36 (06)
  • [10] Zoltar: A Spectrum-based Fault Localization Tool
    Janssen, Tom
    Abreu, Rui
    van Gemund, Arjan J. C.
    [J]. SINTER 09, 2009, : 23 - 29