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