Research Article

A Hybrid Intelligent Search Algorithm for Automatic Test Data Generation

Algorithm 3

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