Condition Coverage

blib/lib/Getopt/EX/autocolor.pm
Criterion Covered Total %
condition 2 22 9.0


and 3 conditions

line !l l&&!r l&&r condition
135 0 0 0 defined $v and $v =~ /^\d+$/u
0 0 0 defined $v and $v =~ /^\d+$/u and 0 <= $v
0 0 0 defined $v and $v =~ /^\d+$/u and 0 <= $v and $v <= 100
145 0 0 0 eval "require $mod" and defined &$brightness
147 0 0 0 0 <= $v and $v <= 100

or 2 conditions

line l !l condition
119 5 5 $opt->{'max'} || 65535
155 0 0 $param{'default'} // (return)

or 3 conditions

line l !l&&r !l&&!r condition
155 0 0 0 $brightness //= $param{'default'} // (return)