Branch Coverage

blib/lib/Test/Flatten.pm
Criterion Covered Total %
branch 21 36 58.3


line true false branch
34 0 7 if ($TEST_DIFF)
46 0 20 unless (ref $test eq 'CODE')
58 7 13 if (my $filter = $ENV{'SUBTEST_FILTER'})
59 4 3 if ($caption =~ qr/$filter/ or $in_filter) { }
87 0 16 if $e and not eval { do { $e->isa('Test::Builder::Exception') } }
89 1 15 if ($is_skip_all) { }
0 15 elsif ($tests and $$builder{'Curr_Test'} != $current_test + $tests) { }
0 15 elsif ($$builder{'Curr_Test'} == $current_test) { }
111 0 0 $plan == 1 ? :
122 0 4 unless $cmd
124 0 4 if $$self{'Have_Plan'}
126 1 3 if ($cmd eq 'no_plan') { }
1 2 elsif ($cmd eq 'skip_all') { }
2 0 elsif ($cmd eq 'tests') { }
133 1 0 unless $self->no_header
138 2 0 if ($arg) { }
0 0 elsif (not defined $arg) { }
140 0 2 unless ($arg =~ /^\+?\d+$/)