Branch Coverage

blib/lib/Test/Most.pm
Criterion Covered Total %
branch 33 50 66.0


line true false branch
16 0 17 if ('Test::More'->can('TB_PROVIDER_META')) { }
27 17 0 unless $@
43 0 17 'Test::More'->can('TB_PROVIDER_META') ? :
77 1 18 if ($ENV{'BAIL_ON_FAIL'})
81 1 17 if (not $bail_set and $ENV{'DIE_ON_FAIL'})
85 1 27 if ("bail" eq $_[$i])
94 1 28 if ("timeit" eq $_[$i])
106 0 38 if (grep {$_ eq $do_not_import_by_default;} @_) { }
115 1 31 if (not $bail_set and "die" eq $_[$i])
121 1 30 if ($_[$i] =~ /^-(.*)/)
124 0 1 unless (exists $modules_to_load{$module})
132 2 28 if ($_[$i] =~ /^!(.*)/)
138 1 27 if ("defer_plan" eq $_[$i])
140 0 1 unless $ENV{'DO_NOT_WARN_ON_DEFER_PLAN'}
163 0 75 if (my $error = $@)
185 0 2 unless ($HAVE_TIME_HIRES)
189 1 1 unless ($message)
209 5 9 if (ref $_) { }
230 2 0 unless ($DATA_DUMPER_NAMES_INSTALLED)
259 1 0 if ($builder->{'TEST_MOST_deferred_plan'})
261 1 0 @_ ? :
273 0 38 if ($builder->{'TEST_MOST_test_failed'})
292 0 0 if ($builder->{'TEST_MOST_test_failed'})
295 0 0 if $orig_destroy
301 0 17 if ($builder->{'TEST_MOST_deferred_plan'} and not $builder->{'TEST_MOST_all_done'})