Effectiveness Assessment of the Search-Based Statistical Structural Testing

被引:0
|
作者
Shi, Yang [1 ]
Song, Xiaoyu [1 ]
Perkowski, Marek [1 ]
Li, Fu [1 ]
机构
[1] Portland State Univ, Dept Elect & Comp Engn, Portland, OR 97201 USA
来源
CMC-COMPUTERS MATERIALS & CONTINUA | 2022年 / 70卷 / 02期
关键词
Statistical structural testing; evolutionary algorithms; optimization; coverage criteria; COVERAGE;
D O I
10.32604/cmc.2022.018718
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Search-based statistical structural testing (SBSST) is a promising technique that uses automated search to construct input distributions for statistical structural testing. It has been proved that a simple search algorithm, for example, the hill-climber is able to optimize an input distribution. However, due to the noisy fitness estimation of the minimum triggering probability among all cover elements (Tri-Low-Bound), the existing approach does not show a satisfactory efficiency. Constructing input distributions to satisfy the Tri-Low-Bound criterion requires an extensive computation time. Tri-Low-Bound is considered a strong criterion, and it is demonstrated to sustain a high fault-detecting ability. This article tries to answer the following question: if we use a relaxed constraint that significantly reduces the time consumption on search, can the optimized input distribution still be effective in fault-detecting ability? In this article, we propose a type of criterion called fairness-enhanced-sum-of-triggering-probability (p-L1-Max). The criterion utilizes the sum of triggering probabilities as the fitness value and leverages a parameter p to adjust the uniformness of test data generation. We conducted extensive experiments to compare the computation time and the fault-detecting ability between the two criteria. The result shows that the 1.0-L1-Max criterion has the highest efficiency, and it is more practical to use than the Tri-Low-Bound criterion. To measure a criterion's fault-detecting ability, we introduce a definition of expected faults found in the effective test set size region. To measure the effective test set size region, we present a theoretical analysis of the expected faults found with respect to various test set sizes and use the uniform distribution as a baseline to derive the effective test set size region's definition.
引用
收藏
页码:2191 / 2207
页数:17
相关论文
共 50 条
  • [1] EXSYST: Search-Based GUI Testing
    Gross, Florian
    Fraser, Gordon
    Zeller, Andreas
    2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1423 - 1426
  • [2] Search-Based Testing of Reinforcement Learning
    Tappler, Martin
    Cordoba, Filip Cano
    Aichernig, Bernhard K.
    Koenighofer, Bettina
    PROCEEDINGS OF THE THIRTY-FIRST INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2022, 2022, : 503 - 510
  • [3] Search-based Testing using EFSMs
    Turlea, Ana
    2019 IEEE 30TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSREW 2019), 2019, : 100 - 103
  • [4] Search-Based Energy Testing of Android
    Jabbarvand, Reyhaneh
    Lin, Jun-Wei
    Malek, Sam
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 1119 - 1130
  • [5] Search-based testing in membrane computing
    Turlea, Ana
    Gheorghe, Marian
    Ipate, Florentin
    Konur, Savas
    JOURNAL OF MEMBRANE COMPUTING, 2019, 1 (04) : 241 - 250
  • [6] Cost and Effectiveness of Search-Based Techniques for Model-Based Testing: An Empirical Analysis
    Saeed, Aneesa
    Ab Hamid, Siti Hafizah
    Sani, Asmiza Abdul
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2017, 27 (04) : 601 - 622
  • [7] Search-based testing in membrane computing
    Ana Ţurlea
    Marian Gheorghe
    Florentin Ipate
    Savas Konur
    Journal of Membrane Computing, 2019, 1 : 241 - 250
  • [8] FinHunter: Improved Search-Based Test Generation for Structural Testing of FinTech Systems
    Ding, Xuanwen
    Wang, Qingshun
    Liu, Dan
    Xu, Lihua
    Xiao, Jun
    Zhang, Bojun
    Li, Xue
    Dou, Liang
    He, Liang
    Xie, Tao
    COMPANION PROCEEDINGS OF THE 32ND ACM INTERNATIONAL CONFERENCE ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, FSE COMPANION 2024, 2024, : 10 - 20
  • [9] Search-based Testing and System Testing: A Marriage in Heaven
    Zeller, Andreas
    2017 IEEE/ACM 10TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2017, : 49 - 50
  • [10] Evaluating Search-Based Techniques With Statistical Tests
    Arcuri, Andre
    PROCEEDINGS 2018 IEEE/ACM 11TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2018, : 21 - 21