Branch Coverage

blib/lib/Image/TextMode/Reader/XBin.pm
Criterion Covered Total %
branch 8 34 23.5


line true false branch
36 0 3 unless $headerlength == 11 and $headerdata =~ /^XBIN$eof_char/s
42 3 0 if ($image->header->{'flags'} & $PALETTE)
48 3 0 if ($image->header->{'flags'} & $FONT)
51 0 3 $image->header->{'flags'} & $FIVETWELVE_CHARS ? :
57 0 3 if ($image->header->{'flags'} & $COMPRESSED) { }
132 0 0 if ($type == $NO_COMPRESSION) { }
0 0 elsif ($type == $CHARACTER_COMPRESSION) { }
0 0 elsif ($type == $ATTRIBUTE_COMPRESSION) { }
137 0 0 unless defined $char
141 0 0 unless defined $attr
145 0 0 unless defined $char
146 0 0 unless defined $attr
150 0 0 length $pchar ? :
158 0 0 if ($x == $width)
161 0 0 if $y == $height
181 3 237 if ($x == $width)
184 3 0 if $y == $height