Decision Coverage
Decision coverage includes function coverage and measures additionally if decisions are evaluated to TRUE and to FALSE.
Relevant decisions occur in if, for,
while, do-while and conditional ternary
statements, in case blocks of a switch statement, in
C++ try statements and in their catch blocks.
Furthermore, unconditional control transfers like
goto,
return, throw, break,
continue are counted. Note: Decision coverage is available
- as instrumentation mode with the ctccommand
-i d, - with ctcpost with the option
-fd, if the code was instrumented for multicondition coverage.