lib/Module/Load.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 34 | 41 | 82.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 18 | 0 | 5 | exists $h->{'autoload'} and shift(), 1 |
9 | 0 | 9 | exists $h->{'all'} and shift() | |
31 | 18 | 0 | 5 | exists $h->{'load'} and shift(), 1 |
34 | 21 | 0 | 2 | exists $h->{'load_remote'} and shift(), 1 |
37 | 21 | 0 | 2 | exists $h->{'autoload_remote'} and shift(), 1 |
92 | 14 | 0 | 26 | @_ || $autoimport and $import = $mod->can('import') |
110 | 0 | 51 | 2 | @parts and not $parts[0] |
line | l | !l | condition |
---|---|---|---|
105 | 46 | 7 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
24 | 11 | 7 | 23 | exists $h->{'none'} or exists $h->{''} |
28 | 5 | 17 | 1 | exists $h->{'autoload'} and shift(), 1 or exists $h->{'all'} and shift() |
31 | 5 | 9 | 9 | exists $h->{'load'} and shift(), 1 or exists $h->{'all'} |
34 | 2 | 9 | 12 | exists $h->{'load_remote'} and shift(), 1 or exists $h->{'all'} |
37 | 2 | 9 | 12 | exists $h->{'autoload_remote'} and shift(), 1 or exists $h->{'all'} |
92 | 14 | 12 | 14 | @_ || $autoimport |