| blib/lib/MooX/Options.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 21 | 95.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 172 | 50 | 26 | 1 | defined $options{'format'} and $options{'format'} eq 'json' |
| 184 | 73 | 1 | 4 | $options{'autorange'} and not defined $options{'autosplit'} |
| 202 | 64 | 1 | 13 | $cmdline_options{'repeatable'} and defined $cmdline_options{'format'} |
| 65 | 5 | 8 | $cmdline_options{'repeatable'} and defined $cmdline_options{'format'} and substr($cmdline_options{'format'}, -1) ne '@' | |
| 208 | 74 | 2 | 2 | $cmdline_options{'negatable'} and defined $cmdline_options{'format'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 172 | 1 | 1 | 76 | $options{'json'} or defined $options{'format'} and $options{'format'} eq 'json' |
| 198 | 13 | 0 | 65 | $cmdline_options{'autosplit'} or $cmdline_options{'autorange'} |