Branch Coverage

blib/lib/Image/ExifTool/MIFF.pm
Criterion Covered Total %
branch 24 48 50.0


line true false branch
113 0 1 unless $raf->Read($hdr, 14) == 14
114 0 1 unless $hdr eq "id=ImageMagick"
126 1 0 if ($raf->ReadLine($buff))
133 0 11 if ($mode eq 'com') { }
0 11 elsif (/^\{/) { }
134 0 0 if /\}$/
140 0 11 if ($mode eq 'val') { }
11 0 elsif (/(.+)=(.+)/) { }
0 0 elsif (/^:/) { }
142 0 0 unless /\}$/
147 0 11 if ($val =~ /^\{/)
160 1 10 unless ($tagInfo)
164 0 11 if $verbose
169 3 8 if ($tag =~ /^profile-(.*)/) { }
180 0 3 unless ($len =~ /^\d+$/)
184 0 3 unless ($raf->Read($buff, $len) == $len)
197 0 3 if ($type eq 'icc') { }
1 2 elsif ($type eq 'iptc') { }
2 0 elsif ($type eq 'APP1' or $type eq 'exif' or $type eq 'xmp') { }
202 1 0 if ($buff =~ /^8BIM/)
210 1 1 if ($buff =~ /^$Image::ExifTool::exifAPP1hdr/) { }
1 0 elsif ($buff =~ /^$Image::ExifTool::xmpAPP1hdr/) { }
228 0 3 unless ($processed)
230 0 0 if ($verbose)