Branch Coverage

blib/lib/Dist/Zilla/Chrome/Term.pm
Criterion Covered Total %
branch 3 36 8.3


line true false branch
29 0 0 ($ENV{'COLORTERM'} // '') eq 'truecolor' ? :
30 0 0 $max == 255 ? :
31 0 0 $max == 255 ? :
32 0 0 $max == 255 ? :
39 0 0 if $rgb[0] + $rgb[1] + $rgb[2] >= $min
63 20 0 if ($enc and &Encode::resolve_alias($enc))
73 20 0 $ENV{'DZIL_TESTING'} ? :
79 0 20 if ($use_color)
85 0 0 unless $message =~ s/\A\[([^\]]+)] //u
127 0 0 $term_enc ? :
130 0 0 $term_enc ? :
132 0 0 if ($arg->{'noecho'})
139 0 0 defined $default ? :
144 0 0 if ($arg->{'noecho'})
162 0 0 unless ($self->_isa_tty)
163 0 0 if (defined $default)
172 0 0 defined $default ? :
191 0 0 if ($isa_tty)