Directed Search Based on Improved Whale Optimization Algorithm for Test Case Prioritization

被引:3
作者
Yang, Bin [1 ]
Li, Huilai [2 ]
Xing, Ying [2 ]
Zeng, Fuping [3 ]
Qian, Chengdong [4 ]
Shen, Youzhi [4 ]
Wang, Jiongbo [4 ]
机构
[1] China Unicom Res Inst No, 9 Shouti South Rd, Beijing 100048, Peoples R China
[2] Beijing Univ Posts & Telecommun, Sch Artificial Intelligence, 10 Xitucheng Rd, Beijing 100876, Peoples R China
[3] Beijing Univ Aeronaut & Astronaut, Sch Reliabil & Syst Engn, 37 Xueyuan Rd, Beijing 100191, Peoples R China
[4] Phytium Technol Co Ltd, 7th Floor,Quantum Core Block,Zhichun Rd, Beijing 100086, Peoples R China
关键词
software testing; test case prioritization; swarm intelligence algorithm; whale op-timization algorithm; directed search space;
D O I
10.15837/ijccc.2023.2.5049
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
With the advent of the information age, the iterative speed of software update is gradually accelerating which makes software development severely limited by software testing. Test case prioritization is an effective way to accelerate software testing progress. With the introduction of heuristic algorithm to this task, the processing efficiency of test cases has been greatly improved. However, to overcome the shortcomings of slow convergence speed and easy fall into local optimum, the improved whale optimization algorithm is proposed for test case prioritization. Firstly, a model called n-dimensional directed search space is established for the swarm intelligence algorithm. Secondly, the enhanced whale optimization algorithm is applied to test case prioritization while the backtracking behavior is conducted for individuals when hitting the wall. In addition, a separate storage space for Pareto second optimization is also designed to filter the optimal solutions of the multi-objective tasks. Finally, both single-objective and multi-objective optimization experiments are carried out for open source projects and real-world projects, respectively. The results show that the improved whale optimization algorithm using n-dimensional directed search space is more conducive to the decisions of test case prioritization with fast convergence speed.
引用
收藏
页数:20
相关论文
共 44 条
[1]   Parameter tuning or default values? An empirical investigation in search-based software engineering [J].
Arcuri, Andrea ;
Fraser, Gordon .
EMPIRICAL SOFTWARE ENGINEERING, 2013, 18 (03) :594-623
[2]  
Bajaj A., 2021, Recent Adv. Comput. Sci. Commun. (Former. Recent Patents Comput. Sci.), V14, P593, DOI [10.2174/2213275912666190226154344, DOI 10.2174/2213275912666190226154344]
[3]   Discrete cuckoo search algorithms for test case prioritization [J].
Bajaj, Anu ;
Sangwan, Om Prakash .
APPLIED SOFT COMPUTING, 2021, 110
[4]   An efficient double adaptive random spare reinforced whale optimization algorithm [J].
Chen, Huiling ;
Yang, Chenjun ;
Heidari, Ali Asghar ;
Zhao, Xuehua .
EXPERT SYSTEMS WITH APPLICATIONS, 2020, 154
[5]  
Chen Y., 2022, MODERN IND EC INFORM, V12, P167
[6]  
Dharmveer K.Y., 2021, RECENT ADV COMPUTER, V14, P302
[7]   A Test Case Prioritization Genetic Algorithm Guided by the Hypervolume Indicator [J].
Di Nucci, Dario ;
Panichella, Annibale ;
Zaidman, Andy ;
De Lucia, Andrea .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2020, 46 (06) :674-696
[8]   Test case prioritization: A family of empirical studies [J].
Elbaum, S ;
Malishevsky, AG ;
Rothermel, G .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (02) :159-182
[9]  
Gandomi AH, 2011, STUD COMPUT INTELL, V356, P259
[10]  
[葛红 Ge Hong], 2003, [暨南大学学报. 自然科学与医学版, Journal of Jinan University], V24, P22