blib/lib/Mojo/Base/Lib.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 26 | 46.1 |
line | l | !l | condition |
---|---|---|---|
16 | 0 | 0 | unshift @_, @$it and next |
27 | 0 | 4 | push @flags, $flag and next |
38 | 0 | 1 | push @flags, $it and next |
45 | 0 | 1 | push @libs, $it and next |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
21 | 0 | 0 | 12 | defined $it and $it =~ m[/|\w] |
38 | 1 | 0 | 4 | $flag and $flag eq '-lib' |
57 | 4 | 0 | 3 | @libs and my(@ok_libs) = grep({my $lib = $_; not scalar grep(($lib eq $_), @INC);} @libs) |
66 | 0 | 0 | 1 | my $file = $flag and not $flag->can('new') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 12 | 0 | 7 | my $it = shift() or @_ |
50 | 0 | 3 | 0 | $findbin ||= do { require FindBin; $FindBin::Bin } |