Branch Coverage

blib/lib/ColorThemeUtil/ANSI.pm
Criterion Covered Total %
branch 5 14 35.7


line true false branch
22 0 1 unless defined $color and length $color
27 0 1 unless $Color::ANSI::Util::_color_depth
30 0 1 if (ref $color eq 'HASH') { }
0 1 elsif (ref $color) { }
33 0 0 if defined $color->{'fg'}
37 0 0 if defined $color->{'bg'}
43 0 1 $is_bg ? :