| blib/lib/MooX/Options.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 21 | 95.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 172 | 48 | 30 | 2 | defined $options{'format'} and $options{'format'} eq 'json' |
| 184 | 75 | 1 | 5 | $options{'autorange'} and not defined $options{'autosplit'} |
| 202 | 66 | 1 | 14 | $cmdline_options{'repeatable'} and defined $cmdline_options{'format'} |
| 67 | 5 | 9 | $cmdline_options{'repeatable'} and defined $cmdline_options{'format'} and substr($cmdline_options{'format'}, -1) ne '@' | |
| 208 | 77 | 2 | 2 | $cmdline_options{'negatable'} and defined $cmdline_options{'format'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 172 | 1 | 2 | 78 | $options{'json'} or defined $options{'format'} and $options{'format'} eq 'json' |
| 198 | 14 | 0 | 67 | $cmdline_options{'autosplit'} or $cmdline_options{'autorange'} |