Condition Coverage

blib/lib/YA/CLI.pm
Criterion Covered Total %
condition 12 14 85.7


and 3 conditions

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] =~ /^--/

or 2 conditions

line l !l condition
32 15 0 $args //= \@ARGV

or 3 conditions

line l !l&&r !l&&!r condition
43 10 5 0 $action //= $class->default_handler