Branch Coverage

blib/lib/Class/Load/PP.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
18 75 53 unless $loaded
19 43 10 unless $options and $options->{'-version'}
33 0 128 unless &Module::Runtime::is_module_name($class)
37 28 100 if ($stash->has_symbol('$VERSION'))
39 27 1 if (defined $version)
40 26 1 unless ref $version
42 0 1 if ref $version and &Scalar::Util::reftype($version) eq 'SCALAR' and defined ${$version;}
44 1 0 if &Scalar::Util::blessed($version)
48 6 95 if ($stash->has_symbol('@ISA'))
49 3 3 if @{$stash->get_symbol('@ISA');}
53 23 75 if $stash->list_all_symbols('CODE')