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 条
[41]   Pattern-Based Test Suite Reduction Method for Smart Contracts [J].
Gorski, Tomasz .
APPLIED SCIENCES-BASEL, 2025, 15 (02)
[42]   A Code Coverage-Based Test Suite Reduction and Prioritization Framework [J].
Khan, Saif Ur Rehman ;
Lee, Sai Peck ;
Parizi, Reza Meimandi ;
Elahi, Manzoor .
2014 4TH WORLD CONGRESS ON INFORMATION AND COMMUNICATION TECHNOLOGIES (WICT), 2014, :229-234
[43]   Test Suite Reduction by Combinatorial-based Coverage of Event Sequences [J].
Mayo, Quentin ;
Michaels, Ryan ;
Bryce, Renee .
2014 SEVENTH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2014), 2014, :128-132
[44]   GUI test suite reduction techniques based on event handler functions [J].
Chen, Jun-Cheng ;
Xue, Yun-Zhi ;
Tao, Qiu-Ming ;
Zhao, Chen .
Ruan Jian Xue Bao/Journal of Software, 2015, 26 (08) :1871-1885
[45]   Effective Multi-Fault Localization Based on Fault-Relevant Statistics [J].
Xu, Sihan ;
Gao, Ya ;
Cai, Xiangrui ;
Wang, Zhiyu ;
Ji, Hua .
2021 IEEE 45TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2021), 2021, :998-1003
[46]   CRMF: A fault localization approach based on class reduction and method call frequency [J].
Liu, Hengyuan ;
Li, Zheng ;
Wang, Haifeng ;
Liu, Yong ;
Chen, Xiang .
SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (04) :1061-1090
[47]   Randoop-TSR: Random-based Test Generator with Test Suite Reduction [J].
Liu, Xiangjun ;
Yu, Ping .
13TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2022, 2022, :221-230
[48]   Effective Fault Localization Based on Minimum Debugging Frontier Set [J].
Li, Feng ;
Huo, Wei ;
Chen, Congming ;
Zhong, Lujie ;
Feng, Xiaobing ;
Li, Zhiyuan .
PROCEEDINGS OF THE 2013 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2013, :109-118
[49]   On similarity-awareness in testing-based fault localization [J].
Dan Hao ;
Lu Zhang ;
Ying Pan ;
Hong Mei ;
Jiasu Sun .
Automated Software Engineering, 2008, 15 :207-249
[50]   On similarity-awareness in testing-based fault localization [J].
Dan Hao ;
Lu Zhang ;
Ying Pan ;
Hong Mei ;
Jiasu Sun .
AUTOMATED SOFTWARE ENGINEERING, 2008, 15 (02) :207-249