blib/lib/ColorThemeUtil/ANSI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 12 | 33.3 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 1 | unless defined $color and length $color |
25 | 0 | 1 | if (ref $color eq 'HASH') { } |
0 | 1 | elsif (ref $color) { } | |
28 | 0 | 0 | if defined $color->{'fg'} |
32 | 0 | 0 | if defined $color->{'bg'} |
38 | 0 | 1 | $is_bg ? : |