Branch Coverage

blib/lib/Image/XWD.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
72 0 0 unless open F, "<$fname"
85 0 0 if ($header_size < 100)
117 0 0 if ($file_version != 7)
122 0 0 if ($pixmap_format == 1) { }
0 0 elsif ($pixmap_format == 2) { }
128 0 0 if ($pixmap_depth != 24)
133 0 0 if ($byte_order != 0 and $byte_order != 1)
138 0 0 if ($bitmap_unit != 32)
143 0 0 if ($bitmap_bit_order != 0 and $bitmap_bit_order != 1)
148 0 0 if ($bitmap_pad != 32)
153 0 0 if ($bits_per_pixel != 24 and $bits_per_pixel != 32)
158 0 0 if ($visual_class != 4 and $visual_class != 5)
163 0 0 if ($red_mask != 16711680)
168 0 0 if ($green_mask != 65280)
173 0 0 if ($blue_mask != 255)
178 0 0 if ($bits_per_rgb != 8)
215 0 0 if (0 < $header_size - 100) { }
296 0 0 if ($$self{'bitmap_bit_order'} == 1 and $$self{'bits_per_pixel'} == 24 and $$self{'red_mask'} == 16711680 and $$self{'green_mask'} == 65280 and $$self{'blue_mask'} == 255) { }
0 0 elsif ($$self{'bitmap_bit_order'} == 0 and $$self{'bits_per_pixel'} == 32 and $$self{'red_mask'} == 16711680 and $$self{'green_mask'} == 65280 and $$self{'blue_mask'} == 255) { }