Branch Coverage

blib/lib/Test/Most.pm
Criterion Covered Total %
branch 44 58 75.8


line true false branch
16 0 18 if ('Test::More'->can('TB_PROVIDER_META')) { }
27 18 0 unless $@
43 0 18 'Test::More'->can('TB_PROVIDER_META') ? :
77 1 24 if ($ENV{'BAIL_ON_FAIL'})
81 1 23 if (not $bail_set and $ENV{'DIE_ON_FAIL'})
85 1 43 if ("bail" eq $_[$i])
94 1 44 if ("timeit" eq $_[$i])
112 6 31 if ($_[$i] eq "import" and ref $_[$i + 1] eq "ARRAY")
121 2 48 if (grep {$_ eq $do_not_import_by_default;} @_, @explicit) { }
126 1 1 if (@explicit and not grep({$_ eq $do_not_import_by_default;} @explicit))
137 1 34 if (not $bail_set and "die" eq $_[$i])
143 2 32 if ($_[$i] =~ /^-(.*)/)
146 0 2 unless (exists $modules_to_load{$module})
154 3 29 if ($_[$i] =~ /^!(.*)/)
160 1 28 if ("defer_plan" eq $_[$i])
162 0 1 unless $ENV{'DO_NOT_WARN_ON_DEFER_PLAN'}
185 0 98 if (my $error = $@)
203 5 20 @explicit ? :
204 24 1 if @to_export
214 0 2 unless ($HAVE_TIME_HIRES)
218 1 1 unless ($message)
238 5 9 if (ref $_) { }
259 2 0 unless ($DATA_DUMPER_NAMES_INSTALLED)
288 1 0 if ($builder->{'TEST_MOST_deferred_plan'})
290 1 0 @_ ? :
302 0 38 if ($builder->{'TEST_MOST_test_failed'})
321 0 10 if ($builder->{'TEST_MOST_test_failed'})
324 0 10 if $orig_destroy
330 0 18 if ($builder->{'TEST_MOST_deferred_plan'} and not $builder->{'TEST_MOST_all_done'})