Branch Coverage

blib/lib/Test/Pretty.pm
Criterion Covered Total %
branch 9 72 12.5


line true false branch
135 0 4 if (@NAMES)
149 1 2 if ($ORIGINAL_PID != $$)
152 0 2 if ($NO_ENDING)
157 0 0 if (not $builder->{'Have_Plan'} and $builder->{'Curr_Test'})
162 2 0 if ($builder->{'Have_Plan'} and not $builder->{'No_Plan'})
163 0 2 if ($builder->{'Curr_Test'} != $builder->{'Expected_Tests'})
168 0 2 if ($SHOW_DUMMY_TAP)
169 0 0 $? == 0 && $builder->is_passing ? :
171 2 0 unless ($real_exit_code)
172 2 0 if ($builder->is_passing) { }
187 0 0 $self->parent ? :
191 0 0 if ($self->parent)
202 0 0 if (defined $line) { }
209 0 0 if ($self->{'Child_Name'} and not $self->{'In_Destroy'})
210 0 0 unless defined $name
216 0 0 $test ? :
224 0 0 if defined $name and $name =~ /^[\d\s]+$/
233 0 0 if $in_todo
241 0 0 if (not $test) { }
242 0 0 $ENCODING_IS_UTF8 ? :
244 0 0 $self->in_todo ? :
247 0 0 $ENCODING_IS_UTF8 ? :
256 0 0 if (defined $name) { }
265 0 0 if ($self->in_todo) { }
279 0 0 unless $sub =~ /subtest/ and $test
281 0 0 unless ($test)
282 0 0 $self->in_todo ? :
283 0 0 if $ENV{'HARNESS_ACTIVE'}
286 0 0 if (defined $name) { }
295 0 0 unless $test or $self->in_todo
300 0 0 $test ? :
321 0 0 if ($_[1] eq "Subtest: $name") { }
339 0 0 if ($arg) { }
0 0 elsif (not defined $arg) { }
357 0 0 if (@_)
358 0 0 unless $max =~ /^\+?\d+$/