Distance-based Test-Suite Reduction for Efficient Testing-based Fault Localization

被引:1
|
作者
Wang, Xingya [1 ]
Jiang, Shujuan [1 ,3 ]
Gao, Pengfei [1 ]
Ju, Xiaolin [2 ]
Wang, Rongcun [1 ]
Zhang, Yanmei [1 ]
机构
[1] China Univ Min & Technol, Sch Comp Sci & Technol, Xuzhou, Peoples R China
[2] Nantong Univ, Sch Comp Sci & Technol, Nantong, Peoples R China
[3] Guilin Univ Elect Technol, Guangxi Key Lab Trusted Software, Guilin, Peoples R China
关键词
program debugging; fault localization; test-suite reduction; distance estimation; SPECTRUM;
D O I
10.1109/SATE.2016.21
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Testing-based Fault Localization (TBFL) can guide and automate the process of program debugging by providing developers with a ranked list of suspicious statements. However, collecting the testing information of the whole original test-suite is always too expensive or even infeasible for developers to conduct efficient TBFL. Traditional Test-Suite Reduction (TSR) approaches can be utilized to reduce the size of test-suite. But they still rely on the time-consuming process of the whole testing information collection. In this paper, we propose a distance-based test-suite reduction (DTSR) approach. It is guided by the distances between the test cases rather than the whole testing information when conducting the test-suite reduction. Compared with the existing TSRs, DTSR only needs to collect the testing information of a part of test cases. Our investigation on a series of benchmarks shows that DTSR can effectively reduce the size of the given test-suite and the time cost of TBFL. Nerveless, the fault localization effective-ness of our approach is close to that of the whole test-suite.
引用
收藏
页码:84 / 89
页数:6
相关论文
共 50 条
  • [1] Cost-effective testing based fault localization with distance based test-suite reduction
    Wang, Xingya
    Jiang, Shujuan
    Gao, Pengfei
    Ju, Xiaolin
    Wang, Rongcun
    Zhang, Yanmei
    SCIENCE CHINA-INFORMATION SCIENCES, 2017, 60 (09)
  • [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 (09) : 163 - 177
  • [3] 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
  • [4] Eliminating harmful redundancy for testing-based fault localization using test suite reduction: An experimental study
    Hao, D
    Zhang, L
    Zhong, H
    Mei, H
    Sun, JS
    ICSM 2005: PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2005, : 683 - 686
  • [5] 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
  • [6] 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
  • [7] Redundancy based test-suite reduction
    Fraser, Gordon
    Wotawa, Franz
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4422 : 291 - +
  • [8] 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
  • [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