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
289 6 48 5 $name eq "SGR" and @_ == 1
54 5 0 $name eq "SGR" and @_ == 1 and $_[0] == 0
305 42 6 135 @numbers and not ref $numbers[0]
364 39 0 0 &blessed($color) and $color->can("call")

or 2 conditions

line l !l condition
166 53 0 shift() // ""
317 8 0 $spec // ""
374 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