Branch Coverage

blib/lib/Image/ExifTool/OpenEXR.pm
Criterion Covered Total %
branch 27 62 43.5


line true false branch
165 0 1 unless $raf->Read($buff, 8) == 8
166 0 1 unless $buff =~ /^\x76\x2f\x31\x01/s
175 0 1 $ver & 1024 ? :
179 0 9 unless $raf->Read($buff, 68)
180 1 8 if $buff =~ /^\0/
181 0 8 unless ($buff =~ /^([^\0]{1,$maxLen})\0([^\0]{1,$maxLen})\0(.{4})/gs)
186 0 8 unless ($raf->Seek(pos($buff) - length($buff), 1))
191 0 8 unless ($tagInfo)
195 0 0 if (length $name <= 1)
196 0 0 if (length $name) { }
208 8 0 if ($format or $binary) { }
209 8 0 if $raf->Read($buff, $size) == $size
210 0 8 if (not $format) { }
7 1 elsif ($format ne '1') { }
0 1 elsif ($type eq 'tiledesc') { }
1 0 elsif ($type eq 'chlist') { }
0 0 elsif ($type eq 'stringvector') { }
214 7 0 if ($format =~ /^(\w+)\[?(\d*)/)
216 0 4 $fmt eq 'string' ? :
4 3 unless $cnt
221 0 0 if ($size >= 9)
226 0 0 unless $lvl
228 0 0 unless $rnd
237 0 4 $lin ? :
244 0 0 if $pos + 4 + $len > length $buff
256 0 8 unless ($success)
260 0 8 unless defined $val
263 1 2 if ($tag eq 'dataWindow' || !$dim && $tag eq 'displayWindow' and $val =~ /^(-?\d+) (-?\d+) (-?\d+) (-?\d+)$/)
268 0 8 if ($verbose)
269 0 0 ref $val ? :
281 1 0 if ($dim)