| blib/lib/Config/Scoped.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 45 | 71 | 63.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 227 | 22 | 2 | 13 | not @declarations and %$params |
| 259 | 140 | 3 | 81 | exists $$warnings{$name} and $$warnings{$name} eq 'off' |
| 260 | 140 | 0 | 3 | exists $$warnings{$name} and $$warnings{$name} eq 'on' |
| 263 | 29 | 105 | 6 | exists $$warnings{'all'} and $$warnings{'all'} eq 'off' |
| 264 | 29 | 0 | 105 | exists $$warnings{'all'} and $$warnings{'all'} eq 'on' |
| 502 | 0 | 0 | 10 | defined $args{'name'} and defined $args{'value'} |
| 516 | 0 | 0 | 10 | defined $args{'name'} and defined $args{'value'} |
| 561 | 0 | 0 | 152 | defined $args{'value'} and defined $args{'name'} |
| 578 | 0 | 0 | 152 | defined $args{'value'} and defined $args{'name'} |
| 601 | 0 | 0 | 34 | defined $args{'name'} and defined $args{'value'} |
| 637 | 0 | 0 | 34 | defined $args{'name'} and defined $args{'value'} |
| 685 | 0 | 0 | 1 | $uid != 0 and $uid != $< |
| 810 | 0 | 55 | 0 | not defined $result and $@ |
| line | l | !l | condition |
|---|---|---|---|
| 137 | 73 | 168 | $$thisparser{'local'}{$hash_name} ||= {} |
| 284 | 63 | 1 | $args{'name'} || 'all' |
| 829 | 3 | 0 | $args{'parent_file'} || $args{'file'} || $$thisparser{'local'}{'cfg_file'} || '?' |
| 839 | 2 | 2 | $args{'line'} || $$thisparser{'local'}{'line'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 65 | 15 | 0 | 35 | $$thisparser{'local'}{'warnings'} ||= $$thisparser{'local'}{'warning'} |
| 66 | 2 | 0 | 48 | $$thisparser{'local'}{'lc'} ||= $$thisparser{'local'}{'lowercase'} |
| 67 | 7 | 0 | 43 | $$thisparser{'local'}{'safe'} ||= $$thisparser{'local'}{'Safe'} |
| 68 | 14 | 0 | 36 | $$thisparser{'local'}{'file'} ||= $$thisparser{'local'}{'File'} |
| 659 | 15 | 1 | 0 | defined $args{'handle'} or defined $args{'file'} |
| 672 | 1 | 0 | 0 | $args{'handle'} || $args{'file'} |
| 738 | 41 | 5 | 38 | $quote_name eq 'single' or $quote_delim eq q['] |
| 742 | 41 | 5 | 38 | $quote_name eq 'single' or $quote_delim eq q['] |