blib/lib/only.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 45 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
21 | 25 | 1 | 0 | @_ == 2 and $_[1] eq 'install' |
25 | 14 | 0 | 12 | defined $module and $module |
47 | 0 | 11 | 0 | $module ne 'perl itself' and $s->search |
71 | 4 | 5 | 1 | !$@ && $s->check_version($s->module->VERSION) |
111 | 11 | 0 | 0 | @arguments == 1 && ref $arguments[0] eq 'ARRAY' && @{$arguments[0];} == 0 |
306 | 0 | 8 | 0 | $path =~ s/\.pm$/.yaml/ and -f $path |
366 | 17 | 0 | 0 | $match and not $negate |
367 | 0 | 16 | 1 | $version >= $lower and $version <= $upper |
400 | 0 | 0 | 0 | @ARGV == 1 and $ARGV[0] =~ /^[\d\.]+$/ |
line | l | !l | condition |
---|---|---|---|
24 | 12 | 14 | $_[0] || '' |
28 | 2 | 1 | shift() || '' |
105 | 11 | 0 | $module || '' |
106 | 11 | 0 | $condition || '' |
282 | 1 | 2 | $$s{'distribution_modules'} ||= {} |
327 | 14 | 0 | $2 || '0.00' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
89 | 1 | 13 | 0 | $versionlib || &only::config::versionlib |
325 | 1 | 2 | 11 | defined $1 or defined $3 |