A feedback-directed method of evolutionary test data generation for parallel programs

被引:4
|
作者
Gong, Dunwei [1 ]
Pan, Feng [1 ]
Tian, Tian [2 ]
Yang, Su [1 ]
Meng, Fanlin [3 ]
机构
[1] China Univ Min & Technol, Sch Informat & Control Engn, Xuzhou 221116, Jiangsu, Peoples R China
[2] Shandong Jianzhu Univ, Sch Comp Sci & Technol, Jinan 250101, Shandong, Peoples R China
[3] Univ Essex, Dept Math Sci, Colchester CO4 3SQ, Essex, England
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
Information utilization; Genetic algorithm; Parallel program; Path coverage; Test data; PATHS; VERIFICATION; CHECKING;
D O I
10.1016/j.infsof.2020.106318
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Genetic algorithms can be utilized for automatic test data generation. Test data are encoded as individuals which are evolved for a number of generations using genetic operators. Test data of a parallel program include not only the program input, but also the communication information between each pair of processes. Traditional genetic algorithms, however, do not make full use of information provided by a population's evolution, resulting in a low efficiency in generating test data. Objective: This paper emphasizes the problem of test data generation for parallel programs, and presents a feedback-directed genetic algorithm for generating test data of path coverage. Method: Information related to a schedule sequence is exploited to improve genetic operators. Specifically, a scheduling sequence is evaluated according to how well an individual covers the target path. The probability of the crossover and mutation points being located in the region is determined based on the evaluation result, which prevents a good schedule sequence from being destroyed. If crossover and mutation are performed in the scheduling sequence, the location of crossover and mutation points is further determined according to the relationship between nodes to be covered and the scheduling sequence. In this way, the population can be evolved in a narrowed search space. Results: The proposed algorithm is applied to test 11 parallel programs. The experimental results show that, compared with the genetic algorithm without utilizing information during the population evolution, the proposed algorithm significantly reduces the number of generations and the time consumption. Conclusion: The proposed algorithm can greatly improve the efficiency in evolutionary test data generation.
引用
收藏
页数:15
相关论文
共 29 条
  • [1] Evolutionary Generation Approach of Test Data for Multiple Paths Coverage of Message-passing Parallel Programs
    Tian Tian
    Gong Dunwei
    CHINESE JOURNAL OF ELECTRONICS, 2014, 23 (02) : 291 - 296
  • [2] Search-Based Software Test Data Generation for Path Coverage Based on a Feedback-Directed Mechanism
    Semujju S.D.
    Huang H.
    Liu F.
    Xiang Y.
    Hao Z.
    Complex System Modeling and Simulation, 2023, 3 (01): : 12 - 31
  • [3] Evolutionary Generation Approach of Test Data for Multiple Paths Coverage of Message-passing Parallel Programs
    TIAN Tian
    GONG Dunwei
    Chinese Journal of Electronics, 2014, 23 (02) : 291 - 296
  • [4] Genetic algorithm based test data generation for MPI parallel programs with blocking communication
    Tian, Tian
    Gong, Dunwei
    Kuo, Fei-Ching
    Liu, Huai
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 155 : 130 - 144
  • [5] Test data generation for path coverage of message-passing parallel programs based on co-evolutionary genetic algorithms
    Tian Tian
    Dunwei Gong
    Automated Software Engineering, 2016, 23 : 469 - 500
  • [6] Test data generation for path coverage of message-passing parallel programs based on co-evolutionary genetic algorithms
    Tian, Tian
    Gong, Dunwei
    AUTOMATED SOFTWARE ENGINEERING, 2016, 23 (03) : 469 - 500
  • [7] Grouping target paths for evolutionary generation of test data in parallel
    Gong, Dunwei
    Tian, Tian
    Yao, Xiangjuan
    JOURNAL OF SYSTEMS AND SOFTWARE, 2012, 85 (11) : 2531 - 2540
  • [8] Evolutionary generation of regression test data
    Ren, L.-N. (qianjie180@126.com), 1600, Science Press (37): : 489 - 499
  • [9] A Search-Based Test Data Generation Method for Concurrent Programs
    Mirhosseini, Seyed Mohsen
    Haghighi, Hassan
    INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2020, 13 (01) : 1161 - 1175
  • [10] Evolutionary Generation of Test Data for Paths Coverage Based on Balance Optimization Theory
    Fan S.-P.
    Zhang Y.
    Ma B.-Y.
    Wan L.
    Yao N.-M.
    Song Y.
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2020, 48 (07): : 1303 - 1310