blib/lib/YA/CLI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 14 | 100.0 |
line | true | false | branch |
---|---|---|---|
37 | 10 | 5 | if (@$args and not $args->[0] =~ /^--/) |
40 | 4 | 6 | if ($action and @$args and not $args->[0] =~ /^--/) |
47 | 3 | 12 | unless ($handler) |
50 | 2 | 1 | if (not defined $subaction) { } |
58 | 2 | 10 | if $cli_args{'man'} |
59 | 3 | 7 | if $cli_args{'help'} |
106 | 2 | 13 | unless @PLUGINS |