User`s guide

18 Coverage Collection During Simulation
18-32
Coverage for run_intersect_test
On the Details tab, the metrics that summarize coverage for the entire
run_intersect_test function are reported and repeated as shown.
The results summarized in the coverage metrics summary can be expressed in the
following conclusions:
There are eight decision outcomes reported for run_intersect_test in the line
reports:
One for line 1 (executed)
Two for line 6 (true and false)
One for line 14 (executed)
Two for line 27 (true and false)
Two for line 30 (true and false).
The decision coverage for each line shows 100% decision coverage. This means that
decision coverage for run_intersect_test is eight of eight possible outcomes, or
100%.
There are four conditions reported for run_intersect_test in the line
reports. Lines 27 and 30 each have two conditions, and each condition has two
condition outcomes (true and false), for a total of eight condition outcomes in
run_intersect_test. All conditions tested positive for both the true and false
outcomes except the first condition of line 30 (right1 < left2). This means that
condition coverage for run_intersect_test is seven of eight, or 88%.