blib/lib/YA/CLI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 14 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 4 | 1 | 10 | @$args and not $args->[0] =~ /^--/ |
40 | 5 | 2 | 8 | $action and @$args |
7 | 4 | 4 | $action and @$args and not $args->[0] =~ /^--/ |
line | l | !l | condition |
---|---|---|---|
32 | 15 | 0 | $args //= \@ARGV |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 10 | 5 | 0 | $action //= $class->default_handler |