Condition Coverage

blib/lib/Term/ANSIColor.pm
Criterion Covered Total %
condition 108 108 100.0


and 3 conditions

line !l l&&!r l&&r condition
272 1 2 26 $attr and defined $ATTRIBUTES{lc $attr}
298 19 3 6 $AUTOLOCAL and @_
13 3 6 $AUTORESET and @_
18 3 3 $AUTOLOCAL and @_
13 4 4 $AUTORESET and @_
5 1 1 $AUTOLOCAL and @_
4 1 1 $AUTORESET and @_
7 2 2 $AUTOLOCAL and @_
5 2 2 $AUTORESET and @_
7 2 2 $AUTOLOCAL and @_
5 2 2 $AUTORESET and @_
6 1 1 $AUTOLOCAL and @_
5 1 1 $AUTORESET and @_
4 1 1 $AUTOLOCAL and @_
3 1 1 $AUTORESET and @_
5 1 1 $AUTOLOCAL and @_
4 1 1 $AUTORESET and @_
4 1 1 $AUTOLOCAL and @_
3 1 1 $AUTORESET and @_
7 1 1 $AUTOLOCAL and @_
6 1 1 $AUTORESET and @_
7 1 1 $AUTOLOCAL and @_
6 1 1 $AUTORESET and @_
9 21 1 $AUTOLOCAL and @_
27 1 2 $AUTORESET and @_
3 1 1 $AUTOLOCAL and @_
2 1 1 $AUTORESET and @_
3 1 1 $AUTOLOCAL and @_
2 1 1 $AUTORESET and @_
514 13 2 2 ref $first and ref $first eq 'ARRAY'
618 2 1 7 $1 <= 255 and $2 <= 255
3 1 6 $1 <= 255 and $2 <= 255 and $3 <= 255

or 3 conditions

line l !l&&r !l&&!r condition
415 2 1 15 $r > 255 or $g > 255
3 1 14 $r > 255 or $g > 255 or $b > 255
476 4 2 9 $r > 255 or $g > 255
6 2 7 $r > 255 or $g > 255 or $b > 255