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 条
  • [21] Metamorphic slice: An application in spectrum-based fault localization
    Xie, Xiaoyuan
    Wong, W. Eric
    Chen, Tsong Yueh
    Xu, Baowen
    INFORMATION AND SOFTWARE TECHNOLOGY, 2013, 55 (05) : 866 - 879
  • [22] Spectrum-Based and Program Slicing Statistical Fault Localization
    Li, Jia-Yi
    Yan, Hai-Hua
    Wang, Xu-Chen
    3RD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND MECHANICAL AUTOMATION (CSMA 2017), 2017, : 36 - 44
  • [23] Spectrum-Based Fault Localization for Logic-Based Reasoning
    Pill, Ingo
    Wotawa, Franz
    2018 29TH IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW), 2018, : 192 - 199
  • [24] Spectrum-based fault localization in software product lines
    Arrieta, Aitor
    Segura, Sergio
    Markiegi, Urtzi
    Sagardui, Goiuria
    Etxeberria, Leire
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 100 : 18 - 31
  • [25] A Survey of Challenges in Spectrum-Based Software Fault Localization
    Sarhan, Qusay Idrees
    Beszedes, Arpad
    IEEE ACCESS, 2022, 10 : 10618 - 10639
  • [26] Enhancing Spectrum-Based Fault Localization Using Fault Influence Propagation
    He, Hongdou
    Ren, Jiadong
    Zhao, Guyu
    He, Haitao
    IEEE ACCESS, 2020, 8 (08): : 18497 - 18513
  • [27] Fault Localization in Server-Side Applications Using Spectrum-Based Fault Localization
    Sha, Yoshitomo
    Nagura, Masataka
    Takada, Shingo
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 1139 - 1146
  • [28] Towards Context-Aware Spectrum-Based Fault Localization
    Szatmari, Attila
    2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST, 2023, : 496 - 498
  • [29] Demystifying the Combination of Dynamic Slicing and Spectrum-based Fault Localization
    Reis, Sofia
    Abreu, Rui
    d'Amorim, Marcelo
    PROCEEDINGS OF THE TWENTY-EIGHTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2019, : 4760 - 4766
  • [30] Using Spectrum-based Fault Localization for Test Case Grouping
    Weiglhofer, Martin
    Fraser, Gordon
    Wotawa, Franz
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 630 - 634