A test-suite reduction approach to improving fault-localization effectiveness

被引:30
作者
Gong Dandan [1 ]
Wang Tiantian [1 ]
Su Xiaohong [1 ]
Ma Peijun [1 ]
机构
[1] Harbin Inst Technol, Sch Comp Sci & Technol, Harbin 150001, Peoples R China
基金
高等学校博士学科点专项科研基金; 中国国家自然科学基金;
关键词
Software debugging; Fault localization; Test-suite reduction;
D O I
10.1016/j.cl.2013.04.001
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In order to improve the effectiveness of fault localization, researchers are interested in test-suite reduction to provide suitable test-suite inputs. Different test-suite reduction approaches have been proposed. However, the results are usually not ideal. Reducing the test-suite improperly or excessively can even negatively affect fault-localization effectiveness. In this paper, we propose a two-step test-suite reduction approach to remove the test cases which have little or no effect on fault localization, and improve the distribution evenness of concrete execution paths of test cases. This approach consists of coverage matrix based reduction and path vector based reduction, so it analyzes not only the test cases coverage but also the concrete path information. We design and implement experiments to verify the effect of our approach. The experimental results show that our reduced test-suite can improve fault-localization effectiveness. On average, our approach can reduce the size of a test-suite in 47.87% (for Siemens programs) and 23.03% (for space program). At the same time, on average our approach can improve the fault-localization effectiveness, 2.12 on Siemens programs and 0.13 on space program by Tarantula approach. (C) 2013 Elsevier Ltd. All rights reserved.
引用
收藏
页码:95 / 108
页数:14
相关论文
共 38 条
[1]  
[Anonymous], 2007, TEST AC IND C PRACT
[2]  
[Anonymous], 1995, P 12 INT C TEST COMP
[3]   The Probabilistic Program Dependence Graph and Its Application to Fault Diagnosis [J].
Baah, George K. ;
Podgurski, Andy ;
Harrold, Mary Jean .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (04) :528-545
[4]  
Baudry B., 2006, 28th International Conference on Software Engineering Proceedings, P82, DOI 10.1145/1134285.1134299
[5]  
Chen X, TEST SUITE REDUCTION, P1390
[6]  
Chen Z., NOVEL APPROACH TEST, P390
[7]  
Chilimbi TM, HOLMES EFFECTIVE STA, P34
[8]  
Cleve H, 2005, PROC INT CONF SOFTW, P342
[9]  
Dallmeier V, GENERATING FIXES OBJ, P550
[10]  
Feng Min., 2010, P 9 ACM SIGPLAN SIGS, P81, DOI [10.1145/1806672.1806688, DOI 10.1145/1806672.1806688]