Branch Coverage

lib/TAP/Formatter/HTML/Session.pm
Criterion Covered Total %
branch 44 50 88.0


line true false branch
32 114 0 if defined $$args{$arg}
54 1206 568 if ($result->is_test) { }
57 1206 0 $iter ? :
60 64 1142 $result->has_todo ? :
61 30 1176 $result->has_skip ? :
62 1033 173 $result->is_actual_ok ? :
66 64 1142 if ($result->has_todo) { }
30 1112 elsif ($result->has_skip) { }
999 113 elsif ($result->is_actual_ok) { }
67 4 60 if ($result->is_actual_ok) { }
82 1091 115 if ($result->is_ok)
87 1093 113 if ($result->is_ok or $result->is_unplanned and $result->is_actual_ok)
92 4 1202 if ($result->has_todo and $result->is_actual_ok)
169 19 19 $$r{'has_problems'} ? :
172 34 4 if ($$r{'tests_planned'}) { }
2 2 elsif ($$r{'skip_all'}) { }
180 11 23 if ($p != 100)
182 0 11 if ($p < 25) { }
0 11 elsif ($p < 50) { }
9 2 elsif ($p < 75) { }
2 0 elsif ($p < 95) { }
197 4 34 if (my $num = $$r{'num_parse_errors'})
198 4 0 if ($num == 1 and not $p->is_good_plan) { }
206 4 15 if ($$r{'exit'} and $$r{'exit'} == 255 and $p->is_good_plan)
211 19 19 if ($$r{'has_problems'})