An Advanced Genetic Algorithm Apply to Test Data Generation for Paths Coverage

Article Preview

Abstract:

An advanced genetic algorithm is proposed to apply to test data generation for paths coverage. We advanced the classical genetic algorithm: divided the population into “families”, using the family-in-crossover in each family and PSO-crossover operator between two families which commixed the thought of particle swarm; Then, the fitness function is designed by consider of the difference degree and the degree of approximation, and the model of the advanced genetic algorithm applying to test data generation for paths coverage is given in detail. Finally, the proposed algorithm is applied to a benchmark program, and compared with previous algorithms; the results show that the proposed algorithm is obviously advantageous in the number of generations and time consumption.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

3347-3350

Citation:

Online since:

August 2014

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2014 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

* - Corresponding Author

[1] S. Jinhui,W. Ji, Q. Zhichang, Survey on Path-Wise Automatic Generation of Test Data , ACTA ELECTRONICA SINICA , 2004, 32(l): P109~113.

Google Scholar

[2] Sthamer. The Automatic Generation of software Test Data Using Genetic Algorithms. University of Glam organ, 1995, 22-88.

Google Scholar

[3] W. Hao, X. Junkai , G. Zhongyi , Genetic Algorithms and Its application in Software Test Data Generation, Computer Engineering and Applications, 2001, 12(12), P64-68.

Google Scholar

[4] D. Rui, D. Hongbin, F. Xianbin, Y. Guisheng A Hybrid Particle Swarm Genetic Algorithm for Classification 2009 International Joint Conference on Computational Sciences and Optimization (cso 2009).

Google Scholar

[5] D. Rui, F. Xianbin, L. Shuping D. Hongbin, Automatic Generation of Software Test Data Based on Hybrid Particle Swarm Genetic Algorithm 2012 International Conference on Computational Intelligence and Information (ICCII 2012)(EI: 20124015532104)P670-674, 2012. 5.

DOI: 10.1109/eeesym.2012.6258748

Google Scholar

[6] L.H. Xu, Y.Q. Shen, A New Family Clustering Genetic Algorithm Information and Control Vol. 33. No. 5 Oct. , 2004 527-530.

Google Scholar

[7] Shang Gao ,  Zaiyue Zhang ,  Cungen Cao Multiplicity Particle Swarm Optimization Algorithm Journal of Computers, 2010, Vol. 5 (1), pp.150-157.

Google Scholar