Branch Coverage

blib/lib/Test/AllModules.pm
Criterion Covered Total %
branch 48 58 82.7


line true false branch
64 0 21 if (_is_win() and $fork)
70 0 6 $no_import ? :
6 15 if $use_ok
71 2 19 if $require_ok
73 1 20 if (ref $check eq 'CODE') { }
77 16 4 unless $checks
78 9 17 unless $code
79 17 9 $name ? :
80 17 9 if (ref $test eq 'CODE')
86 0 21 unless ($search_path)
92 20 1 unless $except
94 8 13 if ($fork)
105 0 40 if $before_hook and &$before_hook($code, $class, $count)
107 2 32 if $after_hook
112 5 10 $count > 1 ? :
120 22 18 unless ($fork)
126 0 18 unless defined $pid
128 12 6 if ($pid) { }
142 3 25 $fork && $fork == 2 ? :
149 0 28 if (my $e = $@)
155 28 0 if (&Test::More::ok($ret, $test_name)) { }
156 2 26 if ($show_version)
158 1 1 if (my $version = ${"${class}::VERSION";})
165 0 0 defined $ret ? :
175 9 13 unless $lib
181 1 21 $shuffle ? :
195 2 3 if &$f()
202 4 1 unless $module eq $_
206 0 21 $^O && $^O eq 'MSWin32' ? :