IETCR: An Information Entropy Based Test Case Reduction Strategy for Mutation-Based Fault Localization

被引:26
|
作者
Wang, Haifeng [1 ]
Du, Bin [1 ]
He, Jie [1 ]
Liu, Yong [1 ]
Chen, Xiang [2 ]
机构
[1] Beijing Univ Chem Technol, Coll Informat Sci & Technol, Beijing 100029, Peoples R China
[2] Nantong Univ, Sch Informat Sci & Technol, Nantong 226019, Peoples R China
来源
IEEE ACCESS | 2020年 / 8卷 / 08期
基金
中国国家自然科学基金;
关键词
Software fault localization; mutation based fault localization; information entropy; test case reduction; CLONING; COST;
D O I
10.1109/ACCESS.2020.3004145
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Mutation-based fault localization (MBFL) is a recently proposed technique with the advantage of high fault localization accuracy. However, such a mutation analysis based technique is difficult to be accepted by industry due to its huge computational cost on mutation analysis. There are three ways to improve MBFL's efficiency, which are reducing the number of mutants, optimizing the mutants' execution process, and reducing the number of test cases. The former two ways have been mainly studied and shown promising results, but for the latter way, the related studies are limited since this kind of method will reduce the precision of MBFL. In this paper, we mainly focus on the latter way and propose an information entropy based test case reduction (IETCR) strategy for MBFL. In particular, we first calculate the entropy change of test cases and select a proportion of them according to their value. Then we use a reduced test suite to execute mutants. To show the effectiveness of the IETCR strategy, we choose six real-world programs with 112 faulty versions. In terms of mutation reduction rate, we find MBFL with the IETCR strategy can reduce 56.3%similar to 88.3% cost while keeping almost the same fault localization accuracy when compared to the original MBFL without test case reduction. Moreover, we use Wilcoxon signed-rank test for statistical analysis, which shows that there is no statistically significant difference between MBFL with IETCR strategy and the original MBFL.
引用
收藏
页码:124297 / 124310
页数:14
相关论文
共 50 条
  • [21] Mutation-Based Fault Localization for Real-World Multilingual Programs
    Hong, Shin
    Lee, Byeongcheol
    Kwak, Taehoon
    Jeon, Yiru
    Ko, Bongsuk
    Kim, Yunho
    Kim, Moonzoo
    2015 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2015, : 464 - 475
  • [22] An Empirical Study on Higher-Order Mutation-Based Fault Localization
    Wang, Haifeng
    Li, Zheng
    Liu, Yong
    Chen, Xiang
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2022, 32 (01) : 1 - 35
  • [23] Improving Mutation-Based Fault Localization with Plausible-code Generating Mutation Operators
    Jeon, Juyoung
    Hong, Shin
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 1205 - 1207
  • [24] Mutation-based Evolutionary Fault Localisation
    de-Freitas, Diogo M.
    Leitao-Junior, Plinio S.
    Camilo-Junior, Celso G.
    Harrison, Rachel
    2018 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2018, : 2291 - 2298
  • [25] Efilter: An effective fault localization based on information entropy with unlabelled test cases
    Yan Xiaobo
    Liu Bin
    Wang Shihai
    An Dong
    Zhu Feng
    Yang Yelin
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 134
  • [26] Statement-Oriented Mutant Reduction Strategy for Mutation Based Fault Localization
    Liu, Yong
    Li, Zheng
    Wang, Linxin
    Hu, Zhiwen
    Zhao, Ruilian
    2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS), 2017, : 126 - 137
  • [27] Empirical evaluation of mutation-based test case prioritization techniques
    Shin, Donghwan
    Yoo, Shin
    Papadakis, Mike
    Bae, Doo-Hwan
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2019, 29 (1-2):
  • [28] Investigating fault injection techniques in hardware-based deep neural networks and mutation-based fault localization
    Le Traon, Yves
    Xie, Tao
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2024, 34 (04):
  • [29] Mutation-based Test-Case Prioritization in Software Evolution
    Lou, Yiling
    Hao, Dan
    Zhang, Lu
    2015 IEEE 26TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE), 2015, : 46 - 57
  • [30] 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