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 (09) : 163 - 177
  • [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
    Science China Information Sciences, 2017, 60
  • [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] Redundancy based test-suite reduction
    Fraser, Gordon
    Wotawa, Franz
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4422 : 291 - +
  • [7] A Test-suite Diagnosability Metric for Spectrum-based Fault Localization Approaches
    Perez, Alexandre
    Abreu, Rui
    van Deursen, Arie
    2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, : 654 - 664
  • [8] Towards Generating Cost-Effective Test-Suite for Ethereum Smart Contract
    Wang, Xingya
    Wu, Haoran
    Sun, Weisong
    Zhao, Yuan
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 549 - 553
  • [9] 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
  • [10] Test-suite reduction for model based tests: Effects on test quality and implications for testing
    Heimdahl, MPE
    George, D
    19TH INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2004, : 176 - 185