Test case selection using multi-criteria optimization for effective fault localization

被引:6
|
作者
Wang, Ke-chao [1 ,2 ]
Wang, Tian-tian [1 ]
Su, Xiao-hong [1 ]
机构
[1] Harbin Inst Technol, Sch Comp Sci & Technol, Harbin, Heilongjiang, Peoples R China
[2] Harbin Univ, Sch Software, Harbin, Heilongjiang, Peoples R China
基金
中国国家自然科学基金;
关键词
Fault localization; Test case selection; Test case prioritization; Multi-criteria optimization;
D O I
10.1007/s00607-018-0610-0
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
As spectra-based fault localization techniques report suspicious statements by analyzing the coverage of test cases, the effectiveness of the results is highly dependent on the composition of test suites. This paper proposes an approach for selecting a subset of the passed test suite when a failure revealed by a failed test case. The goal is to obtain a more effective fault localization using a minimal number of test cases than using the originally given large number of test cases. A novelty is that a prioritization criterion and a selection criterion are defined. Different from previous studies, the failed trace is fully considered. The prioritization criterion partitions statements in the failed trace into more suspicious and less suspicious, and then ranks passed test cases by their ability in distinguishing the more suspicious statements from the less suspicious ones. The selection criterion selects the minimal passed test suite which can maximize the number of coverage equivalent classes in the failed trace, so as to distinguish the suspicious statements and meanwhile reduce the size of the test suite. Another novelty is that our approach turns the test case selection into a multi-criteria optimization to make the prioritization and the selection criteria complement each other. This approach was evaluated with 5 fault localization techniques, 8 subject programs and 35,392 test cases. The results show that the fault localization effectiveness can be significantly improved with less than 5% passed test cases. Our approach has advantages over the statement- based and vector-based test suite reduction approaches in both fault localization effectiveness and test suite reduction rate.
引用
收藏
页码:787 / 808
页数:22
相关论文
共 50 条
  • [11] Multi-criteria optimization in regression
    Tsionas, Mike G.
    ANNALS OF OPERATIONS RESEARCH, 2021, 306 (1-2) : 7 - 25
  • [12] Multi-criteria optimization in industry
    Kuefer, Karl-Heinz
    Miettinen, Kaisa
    Ruzika, Stefan
    Sayin, Serpil
    OR SPECTRUM, 2022, 44 (02) : 303 - 305
  • [13] Multi-criteria optimization in regression
    Mike G. Tsionas
    Annals of Operations Research, 2021, 306 : 7 - 25
  • [14] Multi-criteria optimization in industry
    Karl-Heinz Küfer
    Kaisa Miettinen
    Stefan Ruzika
    Serpil Sayin
    OR Spectrum, 2022, 44 : 303 - 305
  • [15] Summary of An Effective Formulation of the Multi-Criteria Test Suite Minimization Problem
    Ozener, O. Orsan
    Sozer, Hasan
    2022 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2022), 2022, : 459 - 459
  • [16] Multi-criteria scheduling optimization using fuzzy logic
    Klein, Y
    Langholz, G
    1998 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5, 1998, : 445 - 450
  • [17] Site selection by using the multi-criteria technique-a case study of Bafra, Turkey
    Kilicoglu, Cem
    Cetin, Mehmet
    Aricak, Burak
    Sevik, Hakan
    ENVIRONMENTAL MONITORING AND ASSESSMENT, 2020, 192 (09)
  • [18] E-service architecture selection based on multi-criteria optimization
    Zeiris, Edzus
    Ziema, Maris
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROCEEDINGS, 2007, 4589 : 345 - +
  • [19] Application of Multi-Criteria Optimization for Selection of Building Materials for New Buildings
    Halirova, Marcela
    Rykalova, Eva
    Perina, Zdenek
    Wolfova, Marie
    ENVIBUILD 2014, 2014, 1041 : 47 - 50
  • [20] Analysis of the Impact of Effective Time Management on Workstation Efficiency Using a Multi-Criteria Optimization Approach
    Krynke, Marek
    MANAGEMENT SYSTEMS IN PRODUCTION ENGINEERING, 2023, 31 (03) : 307 - 311