Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
272 1 2 27 $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 14 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
278 1 1 25 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
298 4 4 28 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
3 3 24 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 7 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
2 2 11 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
2 2 11 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 8 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 6 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 7 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 6 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 9 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 9 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 31 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 5 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
1 1 5 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
398 1 2 75 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}
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
523 1 1 16 $ENV{'ANSI_COLORS_DISABLED'} or defined $ENV{'NO_COLOR'}