Branch Coverage

blib/lib/Test/Pretty.pm
Criterion Covered Total %
branch 10 72 13.8


line true false branch
131 0 4 if (@NAMES)
145 1 2 if ($ORIGINAL_PID != $$)
148 0 2 if ($NO_ENDING)
153 0 2 if (not $$builder{'Have_Plan'} and $$builder{'Curr_Test'})
158 2 0 if ($$builder{'Have_Plan'} and not $$builder{'No_Plan'})
159 0 2 if ($$builder{'Curr_Test'} != $$builder{'Expected_Tests'})
164 0 2 if ($SHOW_DUMMY_TAP)
165 0 0 $? == 0 && $builder->is_passing ? :
167 2 0 unless ($real_exit_code)
168 2 0 if ($builder->is_passing) { }
183 0 0 $self->parent ? :
187 0 0 if ($self->parent)
198 0 0 if (defined $line) { }
205 0 0 if ($$self{'Child_Name'} and not $$self{'In_Destroy'})
206 0 0 unless defined $name
212 0 0 $test ? :
220 0 0 if defined $name and $name =~ /^[\d\s]+$/
229 0 0 if $in_todo
237 0 0 if (not $test) { }
238 0 0 $ENCODING_IS_UTF8 ? :
240 0 0 $self->in_todo ? :
243 0 0 $ENCODING_IS_UTF8 ? :
252 0 0 if (defined $name) { }
261 0 0 if ($self->in_todo) { }
275 0 0 unless $sub =~ /subtest/ and $test
277 0 0 unless ($test)
278 0 0 $self->in_todo ? :
279 0 0 if $ENV{'HARNESS_ACTIVE'}
282 0 0 if (defined $name) { }
291 0 0 unless $test or $self->in_todo
296 0 0 $test ? :
317 0 0 if ($_[1] eq "Subtest: $name") { }
335 0 0 if ($arg) { }
0 0 elsif (not defined $arg) { }
353 0 0 if (@_)
354 0 0 unless $max =~ /^\+?\d+$/