Branch Coverage

blib/lib/TAPx/Harness/Color.pm
Criterion Covered Total %
branch 7 38 18.4


line true false branch
19 0 2 if (IS_WIN32) { }
21 1 0 if ($@) { }
0 0 if ($@) { }
36 0 0 if ($color eq 'reset') { }
0 0 elsif ($color =~ /^on_(.+)$/) { }
0 0 if ($color eq 'reset') { }
0 0 elsif ($color =~ /^on_(.+)$/) { }
48 0 0 unless defined $bg and defined $fg
0 0 unless defined $bg and defined $fg
67 1 2 if ($@) { }
79 0 2 if ($NO_COLOR)
0 0 if ($NO_COLOR)
136 0 11 if ($NO_COLOR)
161 1 0 if $has_newline
176 0 0 unless $self->_should_display($parser, $result)
178 0 0 if ($result->is_test)
179 0 0 if (not $result->is_ok) { }
0 0 elsif ($result->has_skip) { }
0 0 elsif ($result->has_todo) { }