Condition Coverage

blib/lib/String/Tagged/Terminal/Win32Console.pm
Criterion Covered Total %
condition 3 18 16.6


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 0 $attr == 0 and $red == $green
0 0 0 $attr == 0 and $red == $green and $red == $blue
0 0 0 $attr == 0 and $red == $green and $red == $blue and $max > "0.25"

or 3 conditions

line l !l&&r !l&&!r condition
54 3 0 0 {1, 1, 2, 2}->{$fh->fileno} || $fh->fileno
66 0 3 0 $opts{'console'} || do { $WIN32_CONSOLE ||= 'Win32::Console'->new($fileno) }
97 0 1 0 $color_to_attr{$idx} //= _color_to_attr($idx)