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

被引:8
作者
Wang, Xingya [1 ]
Jiang, Shujuan [1 ]
Gao, Pengfei [1 ]
Ju, Xiaolin [2 ,3 ]
Wang, Rongcun [1 ]
Zhang, Yanmei [1 ,3 ]
机构
[1] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou 221116, Peoples R China
[2] Nantong Univ, Sch Comp Sci & Technol, Nantong 226019, Peoples R China
[3] Guilin Univ Elect Technol, Guangxi Key Lab Trusted Software, Guilin 541004, Peoples R China
基金
中国博士后科学基金; 中国国家自然科学基金;
关键词
program debugging; fault localization; test-suite reduction; distance estimation; category partition; TEST-CASE PRIORITIZATION;
D O I
10.1007/s11432-016-9057-8
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:15
相关论文
共 50 条
  • [1] Cost-effective testing based fault localization with distance based test-suite reduction
    Xingya Wang
    Shujuan Jiang
    Pengfei Gao
    Xiaolin Ju
    Rongcun Wang
    Yanmei Zhang
    Science China Information Sciences, 2017, 60
  • [2] Cost-effective testing based fault localization with distance based test-suite reduction
    Xingya WANG
    Shujuan JIANG
    Pengfei GAO
    Xiaolin JU
    Rongcun WANG
    Yanmei ZHANG
    ScienceChina(InformationSciences), 2017, 60 (09) : 163 - 177
  • [3] Distance-based Test-Suite Reduction for Efficient Testing-based Fault Localization
    Wang, Xingya
    Jiang, Shujuan
    Gao, Pengfei
    Ju, Xiaolin
    Wang, Rongcun
    Zhang, Yanmei
    2016 INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2016), 2016, : 84 - 89
  • [4] An Empirical Study of the Effects of Test-Suite Reduction on Fault Localization
    Yu, Yanbing
    Jones, James A.
    Harrold, Mary Jean
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 201 - 210
  • [5] A Test-suite Reduction Approach for Improving Path-Based Fault-Localization Effectiveness
    Gong Dandan
    Su Xiaohong
    Wang Tiantian
    Ma Peijun
    APPLIED DECISIONS IN AREA OF MECHANICAL ENGINEERING AND INDUSTRIAL MANUFACTURING, 2014, 577 : 1022 - 1025
  • [6] A test-suite reduction approach to improving fault-localization effectiveness
    Gong Dandan
    Wang Tiantian
    Su Xiaohong
    Ma Peijun
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2013, 39 (03) : 95 - 108
  • [7] Test-suite Reduction Based on K-medoids Clustering Algorithm
    Liu, Feng
    Zhang, Jun
    Zhu, Er-Zhou
    2017 INTERNATIONAL CONFERENCE ON CYBER-ENABLED DISTRIBUTED COMPUTING AND KNOWLEDGE DISCOVERY (CYBERC), 2017, : 186 - 192
  • [8] A test-suite reduction based on DU-chain requirements optimization
    Pan, L. (lily_pan@163.com), 1600, Advanced Institute of Convergence Information Technology, Myoungbo Bldg 3F,, Bumin-dong 1-ga, Seo-gu, Busan, 602-816, Korea, Republic of (07): : 567 - 575
  • [9] HOTFUZ: Cost-effective higher-order mutation-based fault localization
    Jang, Jong-In
    Ryu, Duksan
    Baik, Jongmoon
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2022, 32 (08)
  • [10] Analysis of distance functions for similarity-based test suite reduction in the context of model-based testing
    Ana Emília Victor Barbosa Coutinho
    Emanuela Gadelha Cartaxo
    Patrícia Duarte de Lima Machado
    Software Quality Journal, 2016, 24 : 407 - 445