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
144 0 0 2 $input >= 0 and $input <= 15
421 6 0 1 defined $ENV{'COLOR'} and not $ENV{'COLOR'}

or 2 conditions

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

or 3 conditions

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