首页 | 本学科首页   官方微博 | 高级检索  
     

基于改进粒子群算法的变异体选择优化
引用本文:王曙燕,杨悦,孙家泽. 基于改进粒子群算法的变异体选择优化[J]. 计算机应用研究, 2017, 34(3)
作者姓名:王曙燕  杨悦  孙家泽
作者单位:西安邮电大学,西安邮电大学,西安邮电大学
基金项目:陕西省自然科学(2015JM6359),西安市科技计划项目(CXY1516 (4)),2016年陕西省工业攻关(2016GY-089)
摘    要:变异测试是常用的测试方法之一,变异测试分析的过程中计算开销会比较大,问题主要集中于测试过程中会产生大量的变异体,为了减少变异体的数量,提出用标准粒子群聚类算法进行选择优化,但标准粒子群算法在被测数据量增加到一定数量的时候,它的迭代次数就会增加、收敛速度就会下降。针对以上问题提出基于改进的粒子群算法对变异体进行选择优化。通过对变异体集合进行聚类分区,增强变异体集合的多态性,从而对粒子群算法改进优化。实验结果表明在不影响测试充分度的前提下,使变异体的数量大幅度减少,同时与K-means算法以及标准粒子群算法相比之下,改进后的方法具有更好的优化效果。

关 键 词:软件测试 变异测试 变异体选择优化 粒子群优化算法
收稿时间:2016-04-28
修稿时间:2017-01-16

Mutants selection based on improved particle swarm optimization algorithm
Wang Shuyan,Yang Yue and Sun Jiaze. Mutants selection based on improved particle swarm optimization algorithm[J]. Application Research of Computers, 2017, 34(3)
Authors:Wang Shuyan  Yang Yue  Sun Jiaze
Affiliation:Xi''an University of post and Telecommunications,,Xi''an University of post and Telecommunications
Abstract: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,a standard particle swarm optimization algorithm is proposed to select and optimal the number of the variants. However, the Standard Particle Swarm Optimization will have large iteration times and slow convergence velocity if the measured data reach a certain amount. To solve the above issues, the paper provides 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 optimizes 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 compare with the K-means algorithm and the standard particle swarm algorithm.
Keywords:software test  mutation testing   mutations selection   Particle Swarm Optimization ( PSO ) algorithm
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号