Research Article

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

Algorithm 4

Path tendency calculation.
Input : the set of relevant variables to the path
    : the path weight of variable ( )
Output  Path-Tendency : a map used to store the path tendency of each variable in
Begin
(1) Path-Tendencynull;
(2) foreach  
(3)   if ( )
(4)     Path-TendencyPath-Tendency ;
(5)   else if ( )
(6)      Path-TendencyPath-Tendency ;
(7) return  Path-Tendency;
End