In the research on algorithm application in software testing platform, the traditional perceptual graph neural network (PGNN) intelligent algorithm has high computational complexity when processing large-scale and complex software testing data. At the same time, it lacks sufficient ability to automatically select and optimize the code’s syntax structure, execution path, test coverage and other features, resulting in poor test case generation effect. This paper constructed an improved PGNN model, which enhanced the modeling ability of complex code structures and execution paths by adding graph convolution layers and introducing attention mechanisms. It also used PGNNs to integrate and optimize features such as grammatical structure, execution path, and test coverage in software codes. Matrix decomposition and sparsification techniques are used to optimize the computational complexity of the PGNN model and achieve rapid processing of large-scale software test data. Based on the improved PGNN model, training is performed on the software test data set, and the model is tuned in combination with a variety of optimization algorithms to improve the overall performance of the test platform. The experimental results show that in terms of the effectiveness of test case generation, the coverage rate, error detection rate, missed rate and false positive rate are 0.87, 0.92, 0.01 and 0.02 respectively.
Read full abstract