blib/lib/Term/Colormap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 16 | 100.0 |
line | true | false | branch |
---|---|---|---|
139 | 1 | 1246 | if ($rgb =~ /[^a-f0-9]/) |
143 | 1000 | 246 | unless (defined $rgb2color->{$rgb}) |
156 | 5133 | 250867 | if ($dist < $closest) |
177 | 13 | 1 | if (exists $$color_mapping{lc $name}) |
189 | 4 | 316 | if ($color < 0 or $color >= scalar @$color2rgb) |
205 | 32 | 32 | unless ('h' eq substr(lc $orientation, 0, 1)) |
221 | 1 | 2 | if $ii < $indent |
245 | 1 | 125 | $bg_or_fg eq 'fg' ? : |