SBFL-Suitability: A Software Characteristic for Fault Localization

被引:8
作者
Sasaki, Yui [1 ,2 ]
Higo, Yoshiki [1 ]
Matsumoto, Shinsuke [1 ]
Kusumoto, Shinji [1 ]
机构
[1] Osaka Univ, Grad Sch Informat Sci & Technol, Suita, Osaka, Japan
[2] Japan Res Inst Ltd, Singapore, Singapore
来源
2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020) | 2020年
基金
日本学术振兴会;
关键词
Spectrum-Based Fault Localization; Mutation Testing; Software Quality;
D O I
10.1109/ICSME46990.2020.00076
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Spectrum-Based Fault Localization (in short, SBFL) is one of the popular techniques to localize faulty code fragments of a given program. SBFL utilizes the information about which statements are executed by each of the success or failure test cases. There are various implementation ways for the same functionality if we use high-level programming languages. The authors consider that differences in these implementation ways may affect the efficiency of localizing faults using SBFL. In this paper, we define a characteristic to what extent a program is suitable for SBFL as SBFL-Suitability, and we propose a technique for measuring SBFL-Suitability. The proposed technique generates many slightly-variant programs from a given program with Mutation Testing, and then it measures how accurately SBFL detects the changed program statements in the variant programs. We conducted an experiment to investigate how SBFL-Suitability differs depending on the differences in source code structures. As a result, we found that (1) the fewer statements in the same nesting level, the higher SBFL-Suitability tends to be, and (2) the presence of Early Return improves SBFL-Suitability.
引用
收藏
页码:702 / 706
页数:5
相关论文
共 16 条
  • [1] 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 - +
  • [2] [Anonymous], 2016, P 25 INT S SOFTWARE
  • [3] [Anonymous], 2011, 250102011 ISO IEC
  • [4] [Anonymous], 2014, P 2014 INT S SOFTWAR
  • [5] [Anonymous], 2017, P S APPL COMP ACM NE, DOI DOI 10.1145/3019612.3019830
  • [6] Boswell Dustin, 2011, The Art of Readable Code: Simple and Practical Techniques for Writing Better Code
  • [7] Britton T., Reversible Debugging Software "Quantify the time and cost saved using reversible debuggers
  • [8] Pinpoint: Problem determination in large, dynamic Internet services
    Chen, MY
    Kiciman, E
    Fratkin, E
    Fox, A
    Brewer, E
    [J]. INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2002, : 595 - 604
  • [9] Dallmeier V, 2005, LECT NOTES COMPUT SC, V3586, P528
  • [10] Fowler Martin, 2002, Refactoring: improving the design of existing code