Multi-task modeling and multifactorial optimization for path coverage problem of automated test case generation

被引:0
|
作者
Wang, Xupeng [1 ,2 ]
Hu, Zhongbo [1 ]
Shi, Lingyi [1 ]
Cai, Gaocheng [1 ]
Su, Qinghua [1 ]
机构
[1] Yangtze Univ, Sch Informat & Math, Jingzhou, Hubei, Peoples R China
[2] Univ Auckland, Dept Engn Sci, Auckland, New Zealand
关键词
Automated test case generation for path; coverage; Functions based on path structure; Multitask optimization; Automatic assignment strategy; Assortative mating; ALGORITHM; EVOLUTION; IFOGSIM;
D O I
10.1016/j.asoc.2024.111407
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Recent research in automated test case generation (ATCG) focuses on multi -objective optimization using functions based on path structure (F -PS) to solve the path coverage (PC) problem. Despite the similarity among F-PSs, the existing multi -objective optimization models fail to consider using the similarity to effectively promote optimization among multiple objectives. Inspired by the similarity and multitask optimization, this paper first establishes a multitasking path coverage (MtPC) model with two different F-PSs as its tasks. A multifactorial optimization framework for solving MtPC model (MfO-PC) is then proposed to optimize the tasks by assortative mating and to cooperatively generate desired test cases by automatic assignment strategy. Three multifactorial optimization algorithms based on the framework are then designed and tested on twelve benchmark programs. Experimental results show that the effectiveness of the proposed model and the designed algorithms based on MfO-PC framework achieve the highest path coverage with fewer test cases and less running time than some compared state-of-the-art algorithms.
引用
收藏
页数:16
相关论文
共 50 条
  • [31] Performance analysis of six meta-heuristic algorithms over automated test suite generation for path coverage-based optimization
    Khari, Manju
    Sinha, Anunay
    Verdu, Elena
    Gonzalez Crespo, Ruben
    [J]. SOFT COMPUTING, 2020, 24 (12) : 9143 - 9160
  • [32] AAGenRec: A Novel Approach for Mitigating Inter-task Interference in Multi-task Optimization of Sequential Behavior Modeling
    Zhang, Jiawei
    Yang, Shimin
    Shen, Liang
    [J]. PROCEEDINGS OF THE 17TH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, WSDM 2024, 2024, : 1190 - 1191
  • [33] Study on changeable path planning and multi-task assignment optimization design for unmanned aerial vehicles cluster
    Zhao, Min
    Yao, Min
    [J]. Dianzi Keji Daxue Xuebao/Journal of the University of Electronic Science and Technology of China, 2010, 39 (04): : 560 - 563
  • [34] Test-Driven Multi-Task Learning with Functionally Equivalent Code Transformation for Neural Code Generation
    Wang, Xin
    Liu, Xiao
    Zhou, Pingyi
    Liu, Qixia
    Liu, Jin
    Wu, Hao
    Cui, Xiaohui
    [J]. PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [35] Ant colony optimization algorithm based on relative distance and association frequency for the multi-task coalition problem
    Ji, Jun-Zhong
    Cheng, Liang
    Zhao, Xue-Wu
    Liu, Chun-Nian
    [J]. Beijing Gongye Daxue Xuebao/Journal of Beijing University of Technology, 2013, 39 (01): : 57 - 62
  • [36] PC-TRT: A Test Case Reuse and generation Tool to achieve high path coverage for Unit Test
    Guo, Zhonghao
    Chen, Sinong
    Xu, Xinyue
    Chen, Xiangxian
    [J]. SoftwareX, 2024, 28
  • [37] Interpretable multi-task neural network modeling and particle swarm optimization of process parameters in laser welding
    Ma, Shuai
    Chen, Zhuyun
    Zhang, Ding
    Du, Yixian
    Zhang, Xiaoji
    Liu, Qiang
    [J]. KNOWLEDGE-BASED SYSTEMS, 2024, 300
  • [38] Test Case Generation and Optimization for Critical Path Testing Using Genetic Algorithm
    Mishra, Deepti Bala
    Mishra, Rajashree
    Das, Kedar Nath
    Acharya, Arup Abhinna
    [J]. SOFT COMPUTING FOR PROBLEM SOLVING, 2019, 817 : 67 - 80
  • [39] Automated SC-MCC test case generation using coverage-guided fuzzing
    Golla, Monika Rani
    Godboley, Sangharatna
    [J]. SOFTWARE QUALITY JOURNAL, 2024, 32 (03) : 849 - 880
  • [40] Automated ISA Branch Coverage Analysis and Test Case Generation for Retargetable Instruction Set Simulators
    Wagstaff, Harry
    Spink, Tom
    Franke, Bjoern
    [J]. 2014 INTERNATIONAL CONFERENCE ON COMPILERS, ARCHITECTURE AND SYNTHESIS FOR EMBEDDED SYSTEMS (CASES), 2014,