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

Bin Yang, Huilai Li, Ying Xing, F. Zeng, Chen Qian, Youzhi Shen, Jiong Wang
{"title":"Directed Search Based on Improved Whale Optimization Algorithm for Test Case Prioritization","authors":"Bin Yang, Huilai Li, Ying Xing, F. Zeng, Chen Qian, Youzhi Shen, Jiong Wang","doi":"10.15837/ijccc.2023.2.5049","DOIUrl":null,"url":null,"abstract":"\nWith 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.\n","PeriodicalId":179619,"journal":{"name":"Int. J. Comput. Commun. Control","volume":"7 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-04-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Int. J. Comput. Commun. Control","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.15837/ijccc.2023.2.5049","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

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.
基于改进鲸鱼优化算法的定向搜索测试用例优先级
随着信息时代的到来,软件更新的迭代速度逐渐加快,这使得软件开发受到软件测试的严重限制。测试用例优先级是加快软件测试进度的有效方法。在该任务中引入启发式算法,极大地提高了测试用例的处理效率。然而,为了克服收敛速度慢、容易陷入局部最优的缺点,提出了改进的鲸鱼优化算法进行测试用例的优先级排序。首先,建立了群智能算法的n维有向搜索空间模型;其次,应用增强型鲸鱼优化算法对测试用例进行优先级排序,同时对个体在撞墙时进行回溯行为。此外,还为Pareto二次优化设计了单独的存储空间,用于过滤多目标任务的最优解。最后,分别针对开源项目和现实项目进行了单目标和多目标优化实验。结果表明,采用n维有向搜索空间的改进鲸鱼优化算法更有利于测试用例优先级的决策,收敛速度快。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信