Condition Coverage

blib/lib/Color/ANSI/Util.pm
Criterion Covered Total %
condition 7 11 63.6


and 3 conditions

line !l l&&!r l&&r condition
143 0 0 2 $input >= 0 and $input <= 15
420 6 0 1 defined $ENV{'COLOR'} and not $ENV{'COLOR'}

or 2 conditions

line l !l condition
149 0 2 $1 // ""

or 3 conditions

line l !l&&r !l&&!r condition
183 16 34 679 not defined $smallest_diff or $smallest_diff > $diff