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 条
  • [1] Multi-task collaborative method based on manifold optimization for automated test case generation based on path coverage
    Cao, Jie
    Huang, Han
    Liu, Fangqing
    Zhang, Qiuhong
    Hao, Zhifeng
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2024, 251
  • [2] Basis path coverage testing of MPI programs based on multi-task evolutionary optimization
    Sun, Baicai
    Gong, Lina
    Guo, Yinan
    Gong, Dunwei
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2024, 255
  • [3] Multi-task optimization in reliability redundancy allocation problem: A multifactorial evolutionary-based approach
    Chowdury, Md. Abdul Malek
    Nath, Rahul
    Shukla, Amit K.
    Rauniyar, Amit
    Muhuri, Pranab K.
    [J]. RELIABILITY ENGINEERING & SYSTEM SAFETY, 2024, 244
  • [4] Decision variable classification based multi-objective multifactorial memetic algorithm for multi-objective multi-task optimization problem
    Xu, Zhiwei
    Xu, Jiafeng
    Zhang, Kai
    Xu, Xin
    He, Juanjuan
    Wu, Ni
    [J]. APPLIED SOFT COMPUTING, 2024, 152
  • [5] Automated Coverage Calculation and Test Case Generation
    Morrison, G. C.
    Inggs, C. P.
    Visser, W. C.
    [J]. PROCEEDINGS OF THE SOUTH AFRICAN INSTITUTE FOR COMPUTER SCIENTISTS AND INFORMATION TECHNOLOGISTS CONFERENCE, 2012, : 84 - 93
  • [6] Multi-Task Learning with Language Modeling for Question Generation
    Zhou, Wenjie
    Zhang, Minghua
    Wu, Yunfang
    [J]. 2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 3394 - 3399
  • [7] Automated Test Case Generation for Path Coverage by Using Multi-Objective Particle Swarm Optimization Algorithm with Reinforcement Learning and Relationship Matrix Strategies
    Liang, Shuwen
    He, Zhitao
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2024, 34 (08) : 1221 - 1249
  • [8] Multi-path Coverage Test Case Generation Combining Chained SVM and XGBoost
    Qian, Zhong-Sheng
    Yu, Qing-Yuan
    Zhang, Ding
    Yao, Chang-Sen
    Qin, Lang-Yue
    Cheng, Yi-Wei
    [J]. Ruan Jian Xue Bao/Journal of Software, 2024, 35 (06): : 2795 - 2820
  • [9] Automated Test Case Generation based on Coverage Analysis
    Majchrzak, Tim A.
    Kuchen, Herbert
    [J]. THIRD INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 259 - 266
  • [10] Path Reliability in Automated Test Case Generation Process
    Choudhary, Kavita
    Rani, Payal
    Shilpa
    [J]. INFORMATION SYSTEMS DESIGN AND INTELLIGENT APPLICATIONS, VOL 1, INDIA 2016, 2016, 433 : 467 - 474