Test Data Generation of Deterministic MPI Parallel Program Based on Path Coverage

Xiaozhi Du,Hongmei He,Jinlan Liu
DOI: https://doi.org/10.1145/3474198.3478213
2021-01-01
Abstract:How to generate test data with high error detection ability is a core work of software testing. To solve the inefficiency problem of generating test data in deterministic MPI parallel program, this paper proposes a method based on multiple evaluation indicators. First, five evaluation indexes of control flow and data flow are adopted to select the most easily covered path as the target path. Then, the Huffman coding of target path and crossing path are adopted to calculate the best fitness function value when using Genetic Algorithm (GA) to generate test data. Target path selection results show that the average number of iterations is improved by about 30% and 10% respectively compared to the previous methods. Fitness function results show that the average number of iterations is improved by about 7% compared to the target path selection function with the same success rate.
What problem does this paper attempt to address?