| blib/lib/Term/ANSIColor/Concise.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 35 | 74.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 95 | 16 | 48 | 40 | $rx != 0 and $rx != 255 |
| 64 | 37 | 3 | $rx != 0 and $rx != 255 and $rx == $gx | |
| 85 | 1 | 2 | $rx != 0 and $rx != 255 and $rx == $gx and $rx == $bx | |
| 346 | 6 | 137 | 11 | $name eq "SGR" and @_ == 1 |
| 143 | 11 | 0 | $name eq "SGR" and @_ == 1 and $_[0] == 0 | |
| 369 | 137 | 6 | 342 | @numbers and not ref $numbers[0] |
| 436 | 41 | 0 | 0 | builtin::blessed($color) and $color->can("call") |
| line | l | !l | condition |
|---|---|---|---|
| 200 | 149 | 0 | shift() // "" |
| 381 | 13 | 0 | $spec // "" |
| 446 | 0 | 0 | $cache->{$color} //= [ansi_pair($color)] |
| 456 | 12 | 11 | $cache->{$color} //= [ansi_pair($color)] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 79 | 1 | 1 | 2 | $n == 0 or $n == 25 |
| 119 | 0 | 0 | 25 | $len == 0 or $len % 3 |