SMBFL: slice-based cost reduction of mutation-based fault localization

被引:14
作者
Chaleshtari, Nazanin Bayati [1 ]
Parsa, Saeed [1 ]
机构
[1] Iran Univ Sci & Technol, Dept Comp Engn, Tehran, Iran
关键词
Fault localization; Mutation-based; Slice; Entropy;
D O I
10.1007/s10664-020-09845-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Fault localization is one of the most important and difficult tasks in the software debugging process. Therefore, several methods have been proposed to automate and improve this process. Mutation-based fault localization is one of the states of the art techniques that try to locate faults by executing different mutants of the faulty program. In addition to favorable results, it is along with a massive increase in mutation execution cost. In this paper, we propose a new mutation-based fault localization approach called SMBFL, that aim to reduce the execution cost by reducing the number of statements to be mutated. As fewer mutants execute with SMBFL, the whole process will become faster and the cost will decrease. SMBFL only examines the statements in the dynamic slice of the program under test. The statements that present in the dynamic slice have a direct effect on the execution of the program with the specified test case. In the SMBFL method, the suspiciousness score of program statements is measured based on the entropy of their mutants. The proposed formula, MuEn, determines the suspiciousness score based on the result of executing mutants of each statement of the program. SMBFL is evaluated during a series of tests. The results show a relative increase in the accuracy of fault localization, by an average of 14.2%, and a decrease in the execution time of the fault localization process, by an average of 24.3%. Finally, the MuEn formula applies the least execution overhead to the fault localization process.
引用
收藏
页码:4282 / 4314
页数:33
相关论文
共 48 条
[1]   A practical evaluation of spectrum-based fault localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
Golsteijn, Rob ;
van Gemund, Arjan J. C. .
JOURNAL OF SYSTEMS AND SOFTWARE, 2009, 82 (11) :1780-1792
[2]  
[Anonymous], 2007, MAV REP JAX JAX 1 1
[3]  
Bellamy J, 1991, ELEMENTS INFORM THEO
[4]   Applying Association Analysis to Dynamic Slicing Based Fault Localization [J].
Cao, Heling ;
Jiang, Shujuan ;
Ju, Xiaolin ;
Zhang, Yanmei ;
Yuan, Guan .
IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2014, E97D (08) :2057-2066
[5]  
Cazorla FranciscoJ., 2013, WCET, P64, DOI DOI 10.4230/OASICS.WCET.2013.64
[6]  
Chambwera M, 2014, COMMUNITY-BASED ADAPTATION TO CLIMATE CHANGE: SCALING IT UP, P55
[7]   Automatic test improvement with DSpot: a study with ten mature open-source projects [J].
Danglot, Benjamin ;
Vera-Perez, Oscar Luis ;
Baudry, Benoit ;
Monperrus, Martin .
EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (04) :2603-2635
[8]   Empirical Evaluation of the Statement Deletion Mutation Operator [J].
Deng, Lin ;
Offutt, Jeff ;
Li, Nan .
2013 IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2013), 2013, :84-93
[9]   Fault density, fault types, and spectra-based fault localization [J].
DiGiuseppe, Nicholas ;
Jones, James A. .
EMPIRICAL SOFTWARE ENGINEERING, 2015, 20 (04) :928-967
[10]   Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact [J].
Do, HS ;
Elbaum, S ;
Rothermel, G .
EMPIRICAL SOFTWARE ENGINEERING, 2005, 10 (04) :405-435