Automated test case generation for path coverage by using grey prediction evolution algorithm with improved scatter search strategy

计算机科学 水准点(测量) 路径(计算) 算法 架空(工程) 搜索算法 任务(项目管理) 测试用例 维数(图论) 人工智能 机器学习 数学 回归分析 经济 管理 程序设计语言 纯数学 地理 操作系统 大地测量学
作者
Gaocheng Cai,Qinghua Su,Zhongbo Hu
出处
期刊:Engineering Applications of Artificial Intelligence [Elsevier BV]
卷期号:106: 104454-104454 被引量:19
标识
DOI:10.1016/j.engappai.2021.104454
摘要

Automated test case generation for path coverage (ATCG-PC), as an important task in software testing, aims to achieve the highest path coverage of a tested program by using as little computational overhead as possible. In ATCG-PC, “similar paths are usually executed by similar test cases” is a problem-specific knowledge which was touched by a handful of researchers but still underutilized. Inspired by the problem-specific knowledge, this paper designs a local search strategy by improving a scatter search strategy, and then proposes a grey prediction evolution algorithm with the improved scatter search strategy for ATCG-PC. Here, the improved scatter search strategy could obtain two feasible test cases by exploiting a dimension of a test case covering a certain path. The proposed algorithm is constructed by importing the improved scatter search strategy to the end of the reproduction operation of the grey prediction evolution algorithm holding strong exploration ability. Grey prediction evolution algorithm is first applied to solve ATCG-PC. The performance of the proposed algorithm is evaluated on six fog computing benchmark programs and six natural language processing benchmark programs. The experimental results demonstrate that the proposed algorithm can achieve the highest path coverage with the fewer test cases and running time than some state-of-the-art algorithms.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
RoKing完成签到,获得积分10
2秒前
June发布了新的文献求助10
2秒前
2秒前
3秒前
3秒前
wanci应助搬砖打工人采纳,获得10
3秒前
量子星尘发布了新的文献求助10
4秒前
nini完成签到,获得积分10
5秒前
8秒前
nini发布了新的文献求助10
8秒前
希望天下0贩的0应助gwff采纳,获得10
9秒前
8R60d8应助科研通管家采纳,获得10
9秒前
8R60d8应助科研通管家采纳,获得10
9秒前
8R60d8应助科研通管家采纳,获得10
9秒前
斯文败类应助科研通管家采纳,获得10
9秒前
8R60d8应助科研通管家采纳,获得10
9秒前
8R60d8应助科研通管家采纳,获得10
9秒前
orixero应助科研通管家采纳,获得10
9秒前
10秒前
8R60d8应助科研通管家采纳,获得10
10秒前
寒冰寒冰完成签到,获得积分10
10秒前
共享精神应助科研通管家采纳,获得30
10秒前
所所应助XBP采纳,获得10
10秒前
大模型应助酷酷的麦片采纳,获得10
10秒前
11秒前
luowen完成签到,获得积分10
11秒前
12秒前
西红柿发布了新的文献求助10
13秒前
丘比特应助xiaozhouning采纳,获得30
13秒前
13秒前
乖猫要努力应助元谷雪采纳,获得10
13秒前
ding应助Psycho采纳,获得10
13秒前
思源应助xiaodong采纳,获得10
14秒前
智慧莎完成签到,获得积分10
15秒前
15秒前
15秒前
17秒前
nature完成签到 ,获得积分10
17秒前
17秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
Picture Books with Same-sex Parented Families: Unintentional Censorship 500
Nucleophilic substitution in azasydnone-modified dinitroanisoles 500
不知道标题是什么 500
A Preliminary Study on Correlation Between Independent Components of Facial Thermal Images and Subjective Assessment of Chronic Stress 500
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 360
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3971333
求助须知:如何正确求助?哪些是违规求助? 3516028
关于积分的说明 11180607
捐赠科研通 3251147
什么是DOI,文献DOI怎么找? 1795693
邀请新用户注册赠送积分活动 875999
科研通“疑难数据库(出版商)”最低求助积分说明 805228