Cost-effective testing based fault localization with distance based test-suite reduction

被引:0
作者
Xingya Wang
Shujuan Jiang
Pengfei Gao
Xiaolin Ju
Rongcun Wang
Yanmei Zhang
机构
[1] China University of Mining and Technology,School of Computer Science and Technology
[2] Nantong University,School of Computer Science and Technology
[3] Guilin University of Electronic Technology,Guangxi Key Laboratory of Trusted Software
来源
Science China Information Sciences | 2017年 / 60卷
关键词
program debugging; fault localization; test-suite reduction; distance estimation; category partition;
D O I
暂无
中图分类号
学科分类号
摘要
The aim of testing based fault localization (TBFL) involves improving the efficiency of program debugging by providing developers with a guide of ranked list of suspicious statements. However, collection of testing information of the whole original test-suite is excessively expensive or even infeasible for developers to conduct TBFL. Traditional test-suite reduction (TSR) techniques are utilized to reduce the size of test-suite. However, they entail a time-consuming process of whole testing information collection. In this study, the distance based test-suite reduction (DTSR) technique is proposed. As opposed to the whole testing information, the distances among the test cases are used to guide the process of test-suite reduction in DTSR. Hence, it is only necessary to collect the testing information for a portion of the test cases for TSR and TBFL. The investigation on the Siemens and SIR benchmarks reveals that DTSR can effectively reduce the size of the given test-suite as well as the time cost of TBFL. Additionally, the fault locating effectiveness of DTSR results is close to that when the whole test-suite is used.
引用
收藏
相关论文
共 50 条
[21]   Spectrum-Based Fault Localization Method with Test Case Reduction [J].
Zhang, Xiaohong ;
Wang, Ziyuan ;
Zhang, Weifeng ;
Ding, Hui ;
Chen, Lin .
IEEE 39TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC 2015), VOL 3, 2015, :548-549
[22]   Search Based Test Suite Minimization for Fault Detection and Localization: A Co-driven Method [J].
Geng, Jingyao ;
Li, Zheng ;
Zhao, Ruilian ;
Guo, Junxia .
SEARCH BASED SOFTWARE ENGINEERING, SSBSE 2016, 2016, 9962 :34-48
[23]   A Test Suite Reduction Method based on Test Requirement Partition [J].
Wan Yongbing ;
Xu Zhongwei ;
Yu Gang ;
Zhu Yujun .
INTERNATIONAL JOURNAL OF GRID AND DISTRIBUTED COMPUTING, 2013, 6 (04) :85-95
[24]   Efilter: An effective fault localization based on information entropy with unlabelled test cases [J].
Yan Xiaobo ;
Liu Bin ;
Wang Shihai ;
An Dong ;
Zhu Feng ;
Yang Yelin .
INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 134
[25]   Test Suite Reduction Method Based on Hierarchical Clustering [J].
Zhu R. ;
Wang Y. ;
Lin H. ;
Li S. ;
Wu Y. .
Beijing Youdian Daxue Xuebao/Journal of Beijing University of Posts and Telecommunications, 2023, 46 (04) :9-14
[26]   BP NEURAL NETWORK-BASED EFFECTIVE FAULT LOCALIZATION [J].
Wong, W. Eric ;
Qi, Yu .
INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2009, 19 (04) :573-597
[27]   A New Approach to Feature-based Test Suite Reduction in Software Product Line Testing [J].
Gotlieb, Arnaud ;
Carlsson, Mats ;
Marijan, Dusica ;
Petillon, Alexandre .
ICSOFT-EA: PROCEEDINGS OF THE 11TH INTERNATIONAL JOINT CONFERENCE ON SOFTWARE TECHNOLOGIES - VOL. 1, 2016, :48-58
[28]   Improving the effectiveness of test suite reduction for user-session-based testing of web applications [J].
Sampath, Sreedevi ;
Bryce, Renee C. .
INFORMATION AND SOFTWARE TECHNOLOGY, 2012, 54 (07) :724-738
[29]   A Test Restoration Method based on Genetic Algorithm for effective fault localization in multiple-fault programs [J].
Yan Xiaobo ;
Liu Bin ;
Wang Shihai .
JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 172
[30]   Optimizing Mutation-Based Fault Localization Through Contribution-Based Test Case Reduction [J].
Wang, Haifeng ;
Yang, Kun ;
Wu, Tong .
INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, 34 (10) :1537-1564