Branch Coverage

lib/Badger/Test/Manager.pm
Criterion Covered Total %
branch 24 56 42.8


line true false branch
87 0 62 if $self->{'plan'}
90 0 62 unless $tests
117 1729 0 if ($self->{'plan'}) { }
144 0 1151 unless (defined $result)
149 116 1035 if ref $result
154 0 2302 if $self->{'colour'}
158 1151 0 if ($r eq $e) { }
172 2 3 if ref $result
177 0 10 if $self->{'colour'}
181 5 0 if ($r ne $e) { }
199 0 41 if $self->{'colour'}
201 41 0 if ($r =~ /$expect/) { }
216 0 2 if $self->{'colour'}
218 2 0 if (not $r =~ /$expect/) { }
231 0 0 unless $self->{'plan'}
241 0 0 unless $n > 0
268 0 1729 unless $self->{'plan'}
270 1729 0 if ($ok) { }
299 0 0 unless $CAN_DIFF
321 0 0 if (@_ and $self->{'colour'} = shift())
337 70 0 unless @$results
349 0 0 @_ ? :
360 8 62 unless $plan
363 0 62 if ($ran < $plan) { }
0 62 elsif ($ran > $plan) { }
371 62 0 unless $self->{'summary'}
375 0 0 if ($fail) { }
0 0 elsif ($good == $plan) { }