| blib/lib/Getopt/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 34 | 58.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 340 | 14 | 2 | 4 | $ref and $ref ne 'CODE' |
| 666 | 0 | 38 | 12 | $$o{'type'} || !1 and $$o{'opposes'} |
| line | l | !l | condition |
|---|---|---|---|
| 110 | 15 | 3 | $params{'options'} || [] |
| 186 | 0 | 0 | ref $def || '' |
| 261 | 34 | 0 | $argv ||= [] |
| 286 | 8 | 26 | $$d{'form'} || '' |
| 351 | 0 | 0 | ref $callback or !1 |
| 461 | 3 | 0 | $$o{$k} ||= {} |
| 666 | 50 | 0 | $$o{'type'} || !1 |
| 687 | 2 | 13 | ref $def || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 87 | 0 | 18 | 0 | ref $package || $package |
| 151 | 0 | 37 | 0 | $also{'object'} || $self->object |
| 198 | 6 | 0 | 11 | not $is_set{$k} or $$self{'opt_data'}{$k}{'form'} |
| 603 | 7 | 0 | 4 | $$self{'aliases'}{$hit[0]} || $hit[0] |