Research Article

Path-Wise Test Data Generation Based on Heuristic Look-Ahead Methods

Algorithm 2

Irrelevant variable removal.
Input Br( ) ( ): branching conditions along the path
    : the set of input variables
Output : the set of relevant variables to the path
    : the set of irrelevant variables to the path
(1) ;
(2) ;
(3) foreach  Br( )
(4)    if
(5)      break;
(6)    else  if ( )
(7)      ;
(8)  ;
(9) return   ,   ;