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 条
  • [1] Optimizing Mutation-Based Fault Localization Through Contribution-Based Test Case Reduction
    Wang, Haifeng
    Yang, Kun
    Wu, Tong
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, 34 (10) : 1537 - 1564
  • [2] An optimal mutation execution strategy for cost reduction of mutation-based fault localization
    Liu, Yong
    Li, Zheng
    Zhao, Ruilian
    Gong, Pei
    INFORMATION SCIENCES, 2018, 422 : 572 - 596
  • [3] MuSim: Mutation-based Fault Localization Using Test Case Proximity
    Dutta, Arpita
    Jha, Amit
    Mall, Rajib
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2021, 31 (05) : 725 - 744
  • [4] Faster Mutation-based Fault Localization With A Novel Mutation Execution Strategy
    Gong, Pei
    Zhao, Ruilian
    Li, Zheng
    2015 IEEE EIGHTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2015,
  • [5] SMBFL: slice-based cost reduction of mutation-based fault localization
    Chaleshtari, Nazanin Bayati
    Parsa, Saeed
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (05) : 4282 - 4314
  • [6] HMER: A Hybrid Mutation Execution Reduction approach for Mutation-based Fault Localization
    Li, Zheng
    Wang, Haifeng
    Liu, Yong
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 168
  • [7] SMBFL: slice-based cost reduction of mutation-based fault localization
    Nazanin Bayati Chaleshtari
    Saeed Parsa
    Empirical Software Engineering, 2020, 25 : 4282 - 4314
  • [8] Mutation-Based Graph Inference for Fault Localization
    Musco, Vincenzo
    Monperrus, Martin
    Preux, Philippe
    2016 IEEE 16TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2016, : 97 - 106
  • [9] SGS: Mutant Reduction for Higher-order Mutation-based Fault Localization
    Fan, Luxi
    Li, Zheng
    Liu, Hengyuan
    Paul, Doyle
    Wang, Haifeng
    Chen, Xiang
    Liu, Yong
    2023 IEEE 47TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE, COMPSAC, 2023, : 870 - 875
  • [10] Metallaxis-FL: mutation-based fault localization
    Papadakis, Mike
    Le Traon, Yves
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2015, 25 (5-7): : 605 - 628