Condition Coverage

blib/lib/Getopt/EX/Numbers.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
81 0 2 0 defined $end and $end =~ /^-\d+$/u
88 17 2 13 $start =~ /\d/u and defined $max
19 13 0 $start =~ /\d/u and defined $max and $start > $max
110 2 28 2 defined $max and $end > $max

or 2 conditions

line l !l condition
112 10 22 $length ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
81 0 0 2 $start =~ /^-\d+$/u or defined $end and $end =~ /^-\d+$/u
113 16 16 0 $step ||= $length