Test input reduction for result inspection to facilitate fault localization | |
Hao, Dan ; Xie, Tao ; Zhang, Lu ; Wang, Xiaoyin ; Sun, Jiasu ; Mei, Hong | |
2010 | |
英文摘要 | Testing-based fault-localization (TBFL) approaches often require the availability of high-statement-coverage test suites that sufficiently exercise the areas around the faults. However, in practice, fault localization often starts with a test suite whose quality may not be sufficient to apply TBFL approaches. Recent capture/replay or traditional test-generation tools can be used to acquire a high-statement-coverage test collection (i.e., test inputs only) without expected outputs. But it is expensive or even infeasible for developers to manually inspect the results of so many test inputs. To enable practical application of TBFL approaches, we propose three strategies to reduce the test inputs in an existing test collection for result inspection. These three strategies are based on the execution traces of test runs using the test inputs. With the three strategies, developers can select only a representative subset of the test inputs for result inspection and fault localization. We implemented and applied the three test-input-reduction strategies to a series of benchmarks: the Siemens programs, DC, and TCC. The experimental results show that our approach can help developers inspect the results of a smaller subset (less than 10%) of test inputs, whose fault-localization effectiveness is close to that of the whole test collection. ? 2009 Springer Science+Business Media, LLC.; EI; 1; 5-31; 17 |
语种 | 英语 |
DOI标识 | 10.1007/s10515-009-0056-x |
内容类型 | 其他 |
源URL | [http://ir.pku.edu.cn/handle/20.500.11897/461808] ![]() |
专题 | 信息科学技术学院 |
推荐引用方式 GB/T 7714 | Hao, Dan,Xie, Tao,Zhang, Lu,et al. Test input reduction for result inspection to facilitate fault localization. 2010-01-01. |
个性服务 |
查看访问统计 |
相关权益政策 |
暂无数据 |
收藏/分享 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论