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 条
  • [1] Test case selection using multi-criteria optimization for effective fault localization
    Ke-chao Wang
    Tian-tian Wang
    Xiao-hong Su
    Computing, 2018, 100 : 787 - 808
  • [2] Multi-Criteria Optimization of the Selection of Transportations Means
    Duchaczek, A.
    Skorupka, D.
    Dzikowska, A.
    PROCEEDINGS OF THE 20TH INTERNATIONAL SCIENTIFIC CONFERENCE TRANSPORT MEANS 2016, 2016, : 1077 - 1082
  • [3] Multi-criteria test cases selection for model transformations
    Alkhazi, Bader
    Abid, Chaima
    Kessentini, Marouane
    Leroy, Dorian
    Wimmer, Manuel
    AUTOMATED SOFTWARE ENGINEERING, 2020, 27 (1-2) : 91 - 118
  • [4] Multi-criteria test cases selection for model transformations
    Bader Alkhazi
    Chaima Abid
    Marouane Kessentini
    Dorian Leroy
    Manuel Wimmer
    Automated Software Engineering, 2020, 27 : 91 - 118
  • [5] Multi-criteria based approach for fault tolerant actuator selection
    Rouissi, F.
    Hoblos, G.
    2010 CONFERENCE ON CONTROL AND FAULT-TOLERANT SYSTEMS (SYSTOL'10), 2010, : 359 - 364
  • [6] An effective formulation of the multi-criteria test suite minimization problem
    Ozener, O. Orsan
    Sozer, Hasan
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 168
  • [7] Site selection by using the multi-criteria technique—a case study of Bafra, Turkey
    Cem Kilicoglu
    Mehmet Cetin
    Burak Aricak
    Hakan Sevik
    Environmental Monitoring and Assessment, 2020, 192
  • [8] Selection of "white tub" technology using multi-criteria analysis - a case study
    Radziejowska, Aleksandra
    Linczowski, Kazimierz
    ARCHIVES OF CIVIL ENGINEERING, 2022, 68 (01) : 443 - 458
  • [9] A multi-criteria interval optimization model for manufacturing supplier selection using genetic algorithm
    Cheng Fangqi
    Wang Huaiao
    Ye Feifan
    PROCEEDINGS OF THE FIRST INTERNATIONAL WORKSHOP ON EDUCATION TECHNOLOGY AND COMPUTER SCIENCE, VOL III, 2009, : 757 - +
  • [10] MULTI-CRITERIA OPTIMIZATION OF REFINERY
    Livshits, Mikhail Yu
    Sizikov, Aleksandr P.
    THERMOPHYSICAL BASIS OF ENERGY TECHNOLOGIES 2015, 2016, 110