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 条
  • [11] Software debugging, testing, and verification
    Hailpern, B
    Santhanam, P
    [J]. IBM SYSTEMS JOURNAL, 2002, 41 (01) : 4 - 12
  • [12] An Analysis and Survey of the Development of Mutation Testing
    Jia, Yue
    Harman, Mark
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2011, 37 (05) : 649 - 678
  • [13] Jones JA, 2002, ICSE 2002: PROCEEDINGS OF THE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, P467, DOI 10.1109/ICSE.2002.1007991
  • [14] Comparison of similarity coefficients used for cluster analysis with dominant markers in maize (Zea mays L)
    Meyer, AD
    Garcia, AAF
    de Souza, AP
    de Souza, CL
    [J]. GENETICS AND MOLECULAR BIOLOGY, 2004, 27 (01) : 83 - 91
  • [15] A Survey on Software Fault Localization
    Wong, W. Eric
    Gao, Ruizhi
    Li, Yihao
    Abreu, Rui
    Wotawa, Franz
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (08) : 707 - 740
  • [16] Yu-Seung Ma, 2006, 28th International Conference on Software Engineering Proceedings, P827