Branch Coverage

lib/Image/Info/XPM.pm
Criterion Covered Total %
branch 3 30 10.0


line true false branch
32 0 3 if ($opts->{'ColorPalette'})
35 0 3 if ($opts->{'L1D_Histogram'})
41 0 0 if ($color =~ /^(none|opaque)$/i) { }
0 0 elsif (not $color =~ /^#/) { }
0 0 elsif (length $color == 7) { }
0 0 elsif (length $color == 13) { }
0 0 elsif (length $color == 4) { }
44 0 0 unless (exists $RGB{'white'})
46 0 0 if (open RGB, _get_rgb_txt()) { }
48 0 0 if /^\s*!/
80 0 0 if ($opts->{'L1D_Histogram'})
85 0 0 if ($opts->{'L1D_Histogram'})
91 0 3 if $i->get("-extname")
100 0 0 if defined $Image::Info::XPM::RGBLIB
116 0 0 if (-r $try)