blib/lib/pkg.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 23 | 73.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
91 | 21 | 2 | 0 | 'ARRAY' eq ref $_[0] and $_[0] |
0 | 0 | 2 | 'ARRAY' eq ref $_[0] and $_[0] and @{$_[0];} == 0 | |
128 | 25 | 2 | 2 | defined $mopt{'include'} and not $pkg ~~ $mopt{'include'} |
129 | 24 | 3 | 0 | defined $mopt{'exclude'} and $pkg ~~ $mopt{'exclude'} |
168 | 13 | 17 | 20 | @_ and $_[0] =~ /^-(.*)/ |
line | l | !l | condition |
---|---|---|---|
83 | 4 | 20 | $$opt{'require'} // 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
83 | 1 | 22 | 2 | $mopt{'require'} //= $$opt{'require'} // 1 |
133 | 0 | 0 | 27 | $mopt{'as'} // ($$opt{'alias'} ? _dispatch_alias($$opt{'alias'}, $pkg) : $pkg) |