HDDr: A Recursive Variant of the Hierarchical Delta Debugging Algorithm

被引:23
作者
Kiss, Akos [1 ]
Hodovan, Renata [1 ]
Gyimothy, Tibor [2 ]
机构
[1] Univ Szeged, Dept Software Engn, Szeged, Hungary
[2] Univ Szeged, MTA SZTE Res Grp Artificial Intelligence, Szeged, Hungary
来源
PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18) | 2018年
关键词
test case minimization; hierarchical delta debugging; recursive;
D O I
10.1145/3278186.3278189
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The minimization of failure-inducing test cases is an important first step in the process of bug fixing. It helps focusing the expensive software engineering resources on the root of the problem by pruning down the excess from the input that is not contributing to the failure. Naturally, minimization is most helpful if it is automated. The original minimizing Delta Debugging algorithm and the followup Hierarchical Delta Debugging approach have been invented to give a solution to this challenge. Although automated, the minimization of inputs from real-life scenarios can take hours for both approaches. This paper builds on and improves the hierarchical minimization algorithm and experiments with a recursive variant called HDDr. After evaluating HDDr on various test cases, it turns out that it can give minimal results in 29 65% less time than the baseline hierarchical algorithm. On our largest test case, this means that the minimization process gets shorter by more than 4 hours.
引用
收藏
页码:16 / 22
页数:7
相关论文
共 27 条
[1]  
[Anonymous], 1994, Technical Report
[2]   Tree-Oriented vs. Line-Oriented Observation-Based Slicing [J].
Binkley, David ;
Gold, Nicolas ;
Islam, Syed ;
Krinke, Jens ;
Yoo, Shin .
2017 IEEE 17TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2017, :21-30
[3]  
Brummayer Robert, 2009, INT WORKSH SAT MOD T, P1
[4]  
Bruno Nicolas, 2010, Proceedings (ACM International Conference Proceeding Series, V426, P382
[5]   Minimizing GUI Event Traces [J].
Clapp, Lazaro ;
Bastani, Osbert ;
Anand, Saswat ;
Aiken, Alex .
FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, :422-434
[6]  
Clause J, 2009, ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, P249
[7]   Cause Reduction for Quick Testing [J].
Groce, Alex ;
Alipour, Amin ;
Zhang, Chaoqiang ;
Chen, Yang ;
Regehr, John .
2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, :243-252
[8]  
Hammoudi Mouna, 2017, EMPIRICAL SOFTW 0509
[9]  
Herfert S, 2017, IEEE INT CONF AUTOM, P861, DOI 10.1109/ASE.2017.8115697
[10]  
Hildebrandt R., 2000, Software Engineering Notes, V25, P135, DOI 10.1145/347636.348938