blib/lib/MooX/Role/CliOptions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 14 | 64.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
47 | 0 | 0 | 25 | ref $argv and ref $argv eq 'ARRAY' |
51 | 0 | 0 | 25 | ref $add_opts and ref $add_opts eq 'ARRAY' |
70 | 10 | 2 | 4 | defined $values{'debug'} and not defined $values{'verbose'} |
line | l | !l | condition |
---|---|---|---|
50 | 14 | 11 | delete $args{'add_opts'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 0 | 2 | 2 | $values{'verbose'} ||= $values{'debug'} |