| blib/lib/Import/Into.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 12 | 3 | 1 | $target =~ /[^0-9]/ ? : |
| 2 | 4 | ref $target ? : | |
| 15 | 2 | 4 | if (defined $level) |
| 22 | 3 | 3 | $file ? : |
| 32 | 2 | 4 | ref $target && exists $target->{'version'} ? : |
| 0 | 6 | unless eval _prelude($target) . 'sub {' . ' my $module = shift;' . ' Module::Runtime::require_module($module);' . (ref $target && exists $target->{'version'} ? ' $module->VERSION($version);' : '') . ' $module->' . $action . '(@_);' . '}' |