Condition Coverage

blib/lib/Term/ANSIColor/Concise.pm
Criterion Covered Total %
condition 25 33 75.7


and 3 conditions

line !l l&&!r l&&r condition
88 1 3 20 $rx != 0 and $rx != 255
4 19 1 $rx != 0 and $rx != 255 and $rx == $gx
22 0 1 $rx != 0 and $rx != 255 and $rx == $gx and $rx == $bx
282 6 48 5 $name eq "SGR" and @_ == 1
54 5 0 $name eq "SGR" and @_ == 1 and $_[0] == 0
298 42 6 135 @numbers and not ref $numbers[0]
357 39 0 0 &blessed($color) and $color->can("call")

or 2 conditions

line l !l condition
166 53 0 shift() // ""
310 8 0 $spec // ""
367 15 6 $cache->{$color} //= [ansi_pair($color)]

or 3 conditions

line l !l&&r !l&&!r condition
72 1 1 2 $n == 0 or $n == 25
111 0 0 31 $len == 0 or $len % 3