Branch Coverage

blib/lib/Test/Stream/Plugin/Subtest.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
16 2 29 if (not @_ or @_ == 1 and $_[0] =~ /^(streamed|buffered)$/)
25 30 0 $ok ? :
26 0 30 unless $sub
55 10 213 unless $buffered
65 52 171 $parent->isa('Test::Stream::Hub::Subtest') ? :
67 213 10 if $buffered
70 3 220 if $no_diag
77 1 217 if (not $ok and $err =~ /Label not found for "last TS_SUBTEST_WRAPPER"/) { }
89 5 217 unless ($finished)
90 2 3 if (my $bailed = $hub->bailed_out)
95 0 3 if $code
98 218 2 if $ok and not $hub->no_ending and not $hub->state->ended
112 19 0 $ok ? :
19 201 unless $pass