Branch Coverage

blib/lib/OOP/Perlish/Class/AutoTest.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
26 5 0 if scalar @tags % 2 == 0
31 0 5 unless scalar keys %test_opts
33 5 0 if (exists $test_opts{'package'})
34 0 5 if ($test_opts{'package'} and ref $test_opts{'package'} eq 'ARRAY') { }
5 0 elsif ($test_opts{'package'} and not ref $test_opts{'package'}) { }
41 5 0 if (exists $test_opts{'tests'})
42 5 0 if ($test_opts{'tests'} and ref $test_opts{'tests'} eq 'ARRAY') { }
0 0 elsif ($test_opts{'tests'} and not ref $test_opts{'tests'}) { }
49 5 0 if (exists $test_opts{'exclude'})
50 5 0 if ($test_opts{'exclude'} and ref $test_opts{'exclude'} eq 'ARRAY') { }
0 0 elsif ($test_opts{'exclude'} and not ref $test_opts{'exclude'}) { }
59 0 17 unless eval "require $package"
91 6 2 if (defined *{$v;}{'CODE'})
93 4 1 if $package_name eq $package
129 17 4 if (/\.pm$/)