Paper
15 August 2022 Method of generating program path test cases based on neural network
Shihao Pan, Haibo Zhang, Xiaokai Zuo, Hongbo Deng
Author Affiliations +
Proceedings Volume 12308, International Conference on Optoelectronic Information and Computer Engineering (OICE 2022); 123080D (2022) https://doi.org/10.1117/12.2647709
Event: International Conference on Optoelectronic Information and Computer Engineering (OICE2022), 2022, ONLINE, China
Abstract
When using genetic algorithm to generate path coverage test cases, test cases are usually input into the instrumented program to obtain program path representation, and fitness values are calculated according to the path representation.This paper uses deep neural network to predict the fitness value of genetic algorithm. Firstly, a batch of test cases are generated by random method, then the fitness value of test cases is calculated, and the training set of neural network is obtained by combination. Then the trained neural network is used to predict the fitness value of the population in the process of evolution to reduce the running time of the population in the process of evolution and improve the efficiency
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Shihao Pan, Haibo Zhang, Xiaokai Zuo, and Hongbo Deng "Method of generating program path test cases based on neural network", Proc. SPIE 12308, International Conference on Optoelectronic Information and Computer Engineering (OICE 2022), 123080D (15 August 2022); https://doi.org/10.1117/12.2647709
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Neural networks

Genetic algorithms

MATLAB

RELATED CONTENT


Back to Top