• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Mao Chengying, Yu Xinxin, Xue Yunzhi. Algorithm Design and Empirical Analysis for Particle Swarm Optimization-Based Test Data Generation[J]. Journal of Computer Research and Development, 2014, 51(4): 824-837.
Citation: Mao Chengying, Yu Xinxin, Xue Yunzhi. Algorithm Design and Empirical Analysis for Particle Swarm Optimization-Based Test Data Generation[J]. Journal of Computer Research and Development, 2014, 51(4): 824-837.

Algorithm Design and Empirical Analysis for Particle Swarm Optimization-Based Test Data Generation

More Information
  • Published Date: April 14, 2014
  • How to generate a test dataset with high coverage and strong fault-revealing ability is a difficult problem, especially for software structural testing. Recently, meta-heuristic search has been confirmed to be an effective way to generate structural test data. In the paper, a swarm intelligence-based method is proposed to handle this problem. At first, the basic framework for search-based test data generation is discussed. Then, with regard to branch coverage criterion, the algorithm for generating test data based on particle swarm optimization (PSO) is proposed. Meanwhile, a new way to construct fitness function is defined according to the structure analysis for branch predicates in program under test. Subsequently, ten open published programs are used to perform experimental evaluation. The experimental results show that PSO outperforms genetic algorithm (GA) and simulated annealing (SA) in all four metrics, i.e., average coverage, success rate, average convergence generation and average time. In addition, other four PSO variant algorithms are also introduced and implemented to conduct comparison analysis with the basic PSO. The results indicate that the basic PSO is the most suitable algorithm for test data generation problem. On the contrary, comprehensive learning PSO (CLPSO) exhibits the worst performance in all variant algorithms.
  • Related Articles

    [1]Li Li, Wang Wanliang, Xu Xinli, Li Weikun. Multi-Objective Particle Swarm Optimization Based on Grid Ranking[J]. Journal of Computer Research and Development, 2017, 54(5): 1012-1023. DOI: 10.7544/issn1000-1239.2017.20160074
    [2]Zhao Yulei, Guo Baolong, Wu Xianxiang, Wang Pai. Image Reconstruction Algorithm for ECT Based on Dual Particle Swarm Collaborative Optimization[J]. Journal of Computer Research and Development, 2014, 51(9): 2094-2100. DOI: 10.7544/issn1000-1239.2014.20131006
    [3]Hu Chengyu, Yao Hong, and Yan Xuesong. Multiple Particle Swarms Coevolutionary Algorithm for Dynamic Multi-Objective Optimization Problems and Its Application[J]. Journal of Computer Research and Development, 2013, 50(6): 1313-1323.
    [4]Ma Xuan and Liu Qing. Particle Swarm Optimization for Multiple Multicast Routing Problem[J]. Journal of Computer Research and Development, 2013, 50(2): 260-268.
    [5]Cai Shaobin, Gao Zhenguo, Pan Haiwei, Shi Ying. Localization Based on Particle Swarm Optimization with Penalty Function for Wireless Sensor Network[J]. Journal of Computer Research and Development, 2012, 49(6): 1228-1234.
    [6]Tang Kezong, Liu Bingxiang, Yang Jingyu, Sun Tingkai. Double Center Particle Swarm Optimization Algorithm[J]. Journal of Computer Research and Development, 2012, 49(5): 1086-1094.
    [7]Lei Kaiyou and Qiu Yuhui. A Study of Constrained Layout Optimization Using Adaptive Particle Swarm Optimizer[J]. Journal of Computer Research and Development, 2006, 43(10): 1724-1731.
    [8]Dou Quansheng, Zhou Chunguang, Xu Zhongyu, Pan Guanyu. Swarm-Core Evolutionary Particle Swarm Optimization in Dynamic Optimization Environments[J]. Journal of Computer Research and Development, 2006, 43(1): 89-95.
    [9]Dou Quansheng, Zhou Chunguang, and Ma Ming. Two Improvement Strategies for Particle Swarm Optimization[J]. Journal of Computer Research and Development, 2005, 42(5): 897-904.
    [10]Zhang Yan, Li Wenhui, Meng Yu, and Pang Yunjie. Fast Texture Synthesis Algorithm Using PSO[J]. Journal of Computer Research and Development, 2005, 42(3).

Catalog

    Article views (1107) PDF downloads (740) Cited by()

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return