Condition Coverage

blib/lib/Color/ANSI/Util.pm
Criterion Covered Total %
condition 8 11 72.7


and 3 conditions

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

or 2 conditions

line l !l condition
148 1 1 $1 // ''

or 3 conditions

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