Branch Coverage

lib/Test/Builder/Tester.pm
Criterion Covered Total %
branch 33 66 50.0


line true false branch
73 0 12 if ($plan[$idx] eq 'import')
114 0 132 if $INC{'Test/Moose/More.pm'}
122 0 132 unless ($original_formatter and $original_formatter->isa('Test::Builder::Formatter'))
188 128 50 unless $testing
195 0 58 unless $testing
228 1 9 unless $testing
270 3 1 unless $testing
318 0 133 if $INC{'Test/Stream.pm'} and $INC{'Test/Stream.pm'} eq 'fake'
322 128 5 if (@_ == 1) { }
327 3 2 if exists $args{'name'}
328 1 4 if exists $args{'title'}
329 1 4 if exists $args{'label'}
333 1 132 unless $testing
354 0 132 unless ($t->ok(($args{'skip_out'} || $out->check) && ($args{'skip_err'} || $err->check), $mess))
364 0 0 unless $args{'skip_out'} or $out->check
367 0 0 unless $args{'skip_err'} or $err->check
431 0 0 if @_
508 1 1358 ref $check ? :
516 2 1357 $hub->isa('Test2::Hub::Subtest') ? :
517 1 1358 ref $check ? :
523 16 1343 if ($check =~ /\A(.*)# (Failed .*test) \((.*?) at line (\d+)\)\Z(?!\n)/)
542 1340 17 unless $check =~ s[^/(.*)/$][$1] or ref $check
543 0 1357 unless $got =~ s/^$check//
560 0 0 if (Test::Builder::Tester::color())
563 0 0 unless ($@)
564 0 0 if 'MSWin32' eq $^O
603 0 0 if ($g ne $w) { }
604 0 0 if ($g =~ s/(\s+)$/ |> /g)
605 0 0 $_ eq ' ' ? :
607 0 0 if ($w =~ s/(\s+)$/ |> /g)
608 0 0 $_ eq ' ' ? :
617 0 0 $got ? :
618 0 0 $wanted ? :