Branch Coverage

blib/lib/Color/Theme/Role/ANSI.pm
Criterion Covered Total %
branch 9 32 28.1


line true false branch
17 0 2 unless defined $c and length $c
20 0 2 if (ref $c eq 'CODE')
27 0 2 if ($coldepth >= 16777216) { }
0 2 elsif ($coldepth >= 256) { }
28 0 0 if (ref $c) { }
30 0 0 if defined $$c{'fg'}
34 0 0 if defined $$c{'bg'}
39 0 0 $is_bg ? :
43 0 0 if (ref $c) { }
45 0 0 if defined $$c{'fg'}
49 0 0 if defined $$c{'bg'}
54 0 0 $is_bg ? :
58 1 1 if (ref $c) { }
60 1 0 if defined $$c{'fg'}
64 1 0 if defined $$c{'bg'}
69 0 1 $is_bg ? :