Condition Coverage

blib/lib/Term/ANSIColor/Concise.pm
Criterion Covered Total %
condition 25 35 71.4


and 3 conditions

line !l l&&!r l&&r condition
89 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
290 6 48 11 $name eq "SGR" and @_ == 1
54 11 0 $name eq "SGR" and @_ == 1 and $_[0] == 0
306 48 6 135 @numbers and not ref $numbers[0]
365 36 0 0 &blessed($color) and $color->can("call")

or 2 conditions

line l !l condition
167 59 0 shift() // ""
318 9 0 $spec // ""
375 0 0 $cache->{$color} //= [ansi_pair($color)]
385 11 7 $cache->{$color} //= [ansi_pair($color)]

or 3 conditions

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