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 条
  • [21] Test Data Generation for Path Coverage of MPI Programs Using SAEO
    Gong, Dunwei
    Sun, Baicai
    Yao, Xiangjuan
    Tian, Tian
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2021, 30 (02)
  • [22] Test-Data Generation for Testing Parallel Real-Time Systems
    Aziz, Muhammad Waqar
    Shah, Syed Abdul Baqi
    TESTING SOFTWARE AND SYSTEMS, ICTSS 2015, 2015, 9447 : 211 - 223
  • [23] Test-data generation directed by program path coverage through imperialist competitive algorithm
    Saadatjoo, Mohammad Ali
    Babamir, Seyed Morteza
    SCIENCE OF COMPUTER PROGRAMMING, 2019, 184
  • [24] An Enhanced Set-based Evolutionary Algorithm for Generating Test Data that Cover Multiple Paths of a Parallel Program
    Tian, Tian
    Yang, Su
    Gong, Dunwei
    2018 IEEE SYMPOSIUM SERIES ON COMPUTATIONAL INTELLIGENCE (IEEE SSCI), 2018, : 688 - 695
  • [25] GA-based Automatic Test Data Generation for UML State Diagrams with Parallel Paths
    Doungsa-ard, C.
    Dahal, K.
    Hossain, A.
    Suwannasart, T.
    ADVANCED DESIGN AND MANUFACTURE TO GAIN A COMPETITIVE EDGE: NEW MANUFACTURING TECHNIQUES AND THEIR ROLE IN IMPROVING ENTERPRISE PERFORMANCE, 2008, : 147 - +
  • [26] Approach for Automated Test Data Generation for Path Testing in Aspect-Oriented Programs using Genetic Algorithm
    Khandelwal, Juhi
    Tomar, Pradeep
    2015 INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION & AUTOMATION (ICCCA), 2015, : 854 - 858
  • [27] Towards a Parallel Approach for Test Data Generation for Branch Coverage with Genetic Algorithm using the Extended Path Prefix Strategy
    Pachauri, Ankur
    Srivasatava, Gursaran
    2015 2ND INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT (INDIACOM), 2015, : 1786 - 1792
  • [28] A New Method of Test Data Generation for Branch Coverage in Software Testing Based on EPDG and Genetic Algorithm
    Chen, Ciyong
    Xu, Xiaofeng
    Chen, Yan
    Li, Xiaochao
    Guo, Donghui
    PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON ANTI-COUNTERFEITING, SECURITY, AND IDENTIFICATION IN COMMUNICATION, 2009, : 307 - +
  • [29] An automated test data generation method for void pointers and function pointers in C/C plus plus libraries and embedded projects
    Lam Nguyen Tung
    Hoang-Viet Tran
    Khoi Nguyen Le
    Pham Ngoc Hung
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 145