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-Tendency ← null; | (2) foreach | (3) if () | (4) Path-Tendency ← Path-Tendency ; | (5) else if () | (6) Path-Tendency ← Path-Tendency ; | (7) return Path-Tendency; | End |
|