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

被引:27
作者
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
相关论文
共 68 条
  • [1] Abreu R, 2006, 12TH PACIFIC RIM INTERNATIONAL SYMPOSIUM ON DEPENDABLE COMPUTING, PROCEEDINGS, P39
  • [2] Agrawal H., 1989, Design of mutant operators for the C programming language
  • [3] [Anonymous], 2013, Proceedings of the 2013 International Symposium on Software Testing and Analysis, ISSTA 2013
  • [4] [Anonymous], 2014, P 2014 INT S SOFTWAR
  • [5] [Anonymous], 2014, P 2014 INT S SOFTWAR
  • [6] Spectrum-based fault localization in software product lines
    Arrieta, Aitor
    Segura, Sergio
    Markiegi, Urtzi
    Sagardui, Goiuria
    Etxeberria, Leire
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 100 : 18 - 31
  • [7] 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
  • [8] Large-Scale Empirical Studies on Effort-Aware Security Vulnerability Prediction Methods
    Chen, Xiang
    Zhao, Yingquan
    Cui, Zhanqi
    Meng, Guozhu
    Liu, Yang
    Wang, Zan
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2020, 69 (01) : 70 - 87
  • [9] Software defect number prediction: Unsupervised vs supervised methods
    Chen, Xiang
    Zhang, Dun
    Zhao, Yingquan
    Cui, Zhanqi
    Ni, Chao
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 106 : 161 - 181
  • [10] MULTI: Multi-objective effort-aware just-in-time software defect prediction
    Chen, Xiang
    Zhao, Yingquan
    Wang, Qiuping
    Yuan, Zhidan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 93 : 1 - 13