Condition Coverage

blib/lib/Getopt/Janus/CLI.pm
Criterion Covered Total %
condition 9 24 37.5


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 0 @ARGV and not length $ARGV[-1]
78 0 0 0 @$args == 1 and $^O =~ /Win32/

or 3 conditions

line l !l&&r !l&&!r condition
63 1 1 2 /^-([_0-9a-zA-Z])$/s or /^--?([-_0-9a-zA-Z]{2,})$/s
65 1 1 0 $$short{$1} || $$long{$1}
1 1 0 $$short{$1} || $$long{$1}
0 0 0 $$short{$1} || $$long{$1}
2 0 0 'yes_no' eq ($$short{$1} || $$long{$1})->{'type'} or 'HELP' eq ($$short{$1} || $$long{$1})->{'type'}
104 0 0 2 keys %$unknowns or @$args