Markov approach for quantifying the software code coverage using genetic algorithm in software testing
Markov chain approach to quantify the coverage of dd-graph representing the software code using genetic algorithm (GA) is presented in this paper. Initially the dd-graph is captured from the control flow graph. In this technique, test software code coverage is carried out by applying GA through sufficient number of feasible linearly independent paths. These paths have been decided in a software code depending on computational uses and predicate uses. Automatic test cases have been produced for the three mixed data type variables namely, integer, float, Boolean and GA is applied. Transition probability of the Markov chain is attained from gcov coverage analysis tool of the initial test suite. Fitness function of GA is measured using path coverage metric; as the product of node coverage and TPM values. Highest fitness value represent the most critical paths among these independent paths with aim to increase testing efficiency of the software code.
Paper
Full text
Markov approach for quantifying the software code coverage using genetic algorithm in software testing
Semantic Scholar · Computer Science · 2019
Abstract
Markov chain approach to quantify the coverage of dd-graph representing the software code using genetic algorithm (GA) is presented in this paper. Initially the dd-graph is captured from the control flow graph. In this technique, test software code coverage is carried out by applying GA through sufficient number of feasible linearly independent paths. These paths have been decided in a software code depending on computational uses and predicate uses. Automatic test cases have been produced for the three mixed data type variables namely, integer, float, Boolean and GA is applied. Transition probability of the Markov chain is attained from gcov coverage analysis tool of the initial test suite. Fitness function of GA is measured using path coverage metric; as the product of node coverage and TPM values. Highest fitness value represent the most critical paths among these independent paths with aim to increase testing efficiency of the software code.