检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张昇[1] 刘春宝[1] ZHANG Sheng;LIU Chun-bao(Jilin University,Changchun Jilin 130041,China)
机构地区:[1]吉林大学,吉林长春130041
出 处:《计算机仿真》2021年第9期348-352,共5页Computer Simulation
摘 要:由于软件测试数据待测行为段序列连接存在冗余,导致目标路径覆盖率降低,提出基于状态空间剪枝的软件测试数据扩增算法。通过并发无关行为段在软件测试内的位置实施分类,依据分类结果采用状态空间剪枝算法,缩减状态空间的规模后,采用测序序列生成算法采用状态节点投影,对所有待测行为段实施操作和判断,按照状态空间实施全序列连接操作,生成全覆盖、无冗余的测试序列;采用自适应粒子群优化算法,设置初始参数、初始种群,判断终止条件,在扩增的测试数据覆盖目标路径时,输入覆盖的测试序列数据完成软件测试数据扩增。实验结果表明,上述算法在软件测试数据扩增效率高,耗时低,平均运行时间低至0.51s,目标路径覆盖率高达到1.0,并且后期的目标路径覆盖率平稳。Due to the redundancy of the sequence connection of the behavior segments of the software test data to be tested,the target path coverage is reduced.A software test data amplification algorithm based on state space pruning is proposed.Firstly,the positions of concurrent independent behavior segments in software testing were classified,and through the classification results,the pruning algorithm of state space was applied to reduce the size of state space.Secondly,sequencing sequence generation algorithm and state node projection were used to operate and judge all the behavior segments to be tested.Then,according to the state space,full sequence join operations were implemented to generate full coverage and non-redundant test sequences.Then,the adaptive particle swarm optimization algorithm was introduced to set the initial parameters and population,and judge the termination conditions.Eventually,when the amplified test data covered the target path,the covered test sequence data were input to complete the amplification of software test data.The experimental results show that the algorithm has high amplification efficiency,low time consuming(0.51 s)and high and stable target path coverage(1.0).
关 键 词:状态空间剪枝 软件测试 数据扩增 测试序列 状态空间 自适应粒子群优化
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.217.160.127