A Decision Point is a place in a program where the execution flow through the program is controlled. As a general rule, Decision Points occur at the Control Flow operations (i.e., IF / ELSE IF / ELSE / ENDIF
, or FOR LOOPS | WHILE LOOPS /
, etc.). However, each part of the boolean expression in the Control Flow operation is on its own, a Decision Point. For example:
if ( A > 0 && A <=100 && B != A || B > 10000) { // Do somethiing } // End if else { // So something else } // End else
The A > 0
is one possible path through the software, and is therefore a Decision Point. A ⇐ 100
is another Decision Point, and so and so forth.
Source: Defined by DIDO RA