检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机应用研究》2017年第3期752-755,共4页Application Research of Computers
基 金:陕西省自然科学基金资助项目(2015JM6359);西安市科技计划资助项目(CXY1516(4));2016年陕西省工业攻关资助项目(2016GY-089)
摘 要:变异测试是常用的测试方法之一,变异测试分析的过程中计算开销会比较大,问题主要集中于测试过程中会产生大量的变异体。为了减少变异体的数量,提出用标准粒子群聚类算法进行选择优化,但标准粒子群算法在被测数据量增加到一定数量的时候,它的迭代次数就会增加、收敛速度就会下降。针对以上问题提出基于改进的粒子群算法对变异体进行选择优化。通过对变异体集合进行聚类分区,增强变异体集合的多态性,从而对粒子群算法进行改进优化。实验结果表明,在不影响测试充分度的前提下,使变异体的数量大幅度减少,同时与K-means算法以及标准粒子群算法相比之下,改进后的方法具有更好的优化效果。Mutation test is one of the most common testing methods. In the process of mutation test analysis,computational overhead will be relatively large. The problem is mainly that mutation test will generate a lot of variants in that process. Therefore,in order to reduce the number of variants,this paper proposed a standard particle swarm optimization algorithm to select and optimize the number of the variants. However,the standard particle swarm optimization would have large iteration times and slow convergence velocity if the measured data reached a certain amount. To solve the above issues,the paper provided mutants selection and optimization which based on improved particle swarm algorithm. By clustering and partitioning the test data set and enhancing the polymorphism of the mutations set,it optimized the particle swam algorithm. Experimental results show that under the premise of not affecting the adequacy of the test,and greatly reducing the number of variants,the improved method has a better optimization results compared with the K-means algorithm and the standard particle swarm algorithm.
关 键 词:软件测试 变异测试 变异体选择优化 粒子群优化算法
分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.157