lib/Class/Loader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 24 | 54.1 |
line | true | false | branch |
---|---|---|---|
26 | 2 | 3 | if (scalar(@source) % 2) |
38 | 1 | 4 | if ($name) |
44 | 5 | 0 | if ($module) { } |
45 | 0 | 5 | unless (eval "require $module") |
46 | 0 | 0 | if ($source{'CPAN'}) { } |
49 | 0 | 0 | unless $obj |
51 | 0 | 0 | unless eval "require $module" |
55 | 2 | 3 | if ($args) { } |
57 | 0 | 2 | unless $object = eval "$module->$constructor($topass)" |
59 | 0 | 3 | unless $object = eval "$module->$constructor" |
62 | 3 | 2 | $field ? : |
77 | 2 | 0 | if $MAPS{$class} |