blib/lib/as.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 26 | 84.6 |
line | true | false | branch |
---|---|---|---|
34 | 1 | 0 | if $@ =~ /CORE::GLOBAL::require/ |
42 | 0 | 33 | if ($old) { } |
2 | 31 | elsif ($file =~ /^v?[\d\.]+$/) { } | |
24 | 7 | elsif ($INC{$file}) { } | |
62 | 1 | 32 | if ($@) |
69 | 2 | 30 | unless $module =~ s/\.pm$// |
73 | 29 | 1 | if (my $import = $module->can('import')) { } |
79 | 4 | 35 | if (@_ >= 3 and $_[-2] eq 'as') |
85 | 37 | 0 | if @_ |
122 | 3 | 1 | if (%{$alias . '::';}) |
125 | 2 | 1 | if (my $old = $ALIASED{$alias}) { } |
126 | 1 | 1 | if $old ne $module |
158 | 1 | 0 | if @_ < 3 or $_[-2] ne 'as' |