On the accuracy of spectrum-based fault localization

被引:467
|
作者
Abreu, Rui [1 ]
Zoeteweij, Peter [1 ]
van Gemund, Arjan J. C. [1 ]
机构
[1] Delft Univ Technol, Fac Elect Engn Math & Comp Sci, Dept Software Technol, POB 5031, NL-2600 GA Delft, Netherlands
关键词
test data analysis; software fault diagnosis; program spectra;
D O I
10.1109/TAIC.PART.2007.13
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Spectrum-based fault localization shortens the test-diagnose-repair cycle by reducing the debugging effort. As a light-weight automated diagnosis technique it can easily be integrated with existing testing schemes. However, as no model of the system is taken into account, its diagnostic accuracy is inherently limited. Using the Siemens Set benchmark, we investigate this diagnostic accuracy as a function of several parameters (Such as quality and quantity of the program spectra collected during the execution of the system), some of which directly relate to test design. Our results indicate that the superior performance of a particular similarity coefficient, used to analyze the program spectra, is largely independent of test design. Furthermore, near-optimal diagnostic accuracy (exonerating about 80% of the blocks of code on average) is already obtained for low-quality error observations and limited numbers of test cases. The influence of the number of test cases is of primary importance for continuous (embedded) processing applications, where only limited observation horizons can be maintained.
引用
收藏
页码:89 / +
页数:2
相关论文
共 50 条
  • [31] On The Efficiency Of Combination Of Program Slicing and Spectrum-Based Fault Localization
    Soha, Peter Attila
    2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST, 2023, : 499 - 501
  • [32] Spectrum-Based Fault Localization for Context-Free Grammars
    Raselimo, Moeketsi
    Fischer, Bernd
    PROCEEDINGS OF THE 12TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING (SLE '19), 2019, : 15 - 28
  • [33] Spectrum-Based Fault Localization Method with Test Case Reduction
    Zhang, Xiaohong
    Wang, Ziyuan
    Zhang, Weifeng
    Ding, Hui
    Chen, Lin
    IEEE 39TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC 2015), VOL 3, 2015, : 548 - 549
  • [34] Applying Spectrum-based Fault Localization on Novice's Programs
    Araujo, Eliane
    Gaudencio, Matheus
    Serey, Dalton
    Figueiredo, Jorge
    2016 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE), 2016,
  • [35] Spectrum-based Fault Localization Tool with Test Case Preprocessor
    Daniel, Patrick
    Sim, K. Y.
    2013 IEEE CONFERENCE ON OPEN SYSTEMS (ICOS), 2013, : 162 - 167
  • [36] Poster: A Qualitative Reasoning Approach to Spectrum-based Fault Localization
    Perez, Alexandre
    Abreu, Rui
    PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 372 - 373
  • [37] Debugging Flaky Tests using Spectrum-based Fault Localization
    Gruber, Martin
    Fraser, Gordon
    2023 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST, AST, 2023, : 128 - 139
  • [38] Can We Predict the Quality of Spectrum-based Fault Localization?
    Golagha, Mojdeh
    Pretschner, Alexander
    Briand, Lionel C.
    2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2020), 2020, : 4 - 15
  • [39] Spectrum-Based Fault Localization for Spreadsheets: Influence of Correct Output Cells on the Fault Localization Quality
    Hofer, Birgit
    2014 IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW), 2014, : 263 - 268
  • [40] Extended Abstract of "Spectrum-Based Fault Localization in Software Product Lines"
    Arrieta, Aitor
    Segura, Sergio
    Markiegi, Urtzi
    Sagardui, Goiuria
    Etxeberria, Leire
    SPLC'19: PROCEEDINGS OF THE 23RD INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2020, : 13 - 13