Branch Coverage

blib/lib/Image/ExifTool/AIFF.pm
Criterion Covered Total %
branch 27 54 50.0


line true false branch
161 0 1 unless $dirLen > 2
165 0 1 if $verbose
167 0 1 if $pos + 8 > $dirLen
170 0 1 if $markerID
172 0 1 if $pos + $size > $dirLen
175 0 1 if $size & 1
191 0 2 unless $raf->Read($buff, 12) == 12
195 1 1 if ($buff =~ /^AT&TFORM/) { }
199 0 1 unless $raf->Read($buf2, 4) == 4 and $buf2 =~ /^(DJVU|DJVM)/
203 0 1 if $fast3
206 1 0 if $buf2 eq "DJVM"
209 0 1 unless $buff =~ /^FORM....(AIF(F|C))/s
211 0 1 if $fast3
221 2 14 unless $raf->Read($buff, 8) == 8
228 0 14 if ($len2 > 100000000)
229 0 0 if ($len2 >= 2147483648 and not $et->Options("LargeFileSupport"))
233 0 0 if ($tagInfo)
238 10 4 if ($tagInfo) { }
0 4 elsif (not $len) { }
0 4 elsif ($verbose > 2 and $len2 < 1024000) { }
239 2 8 if ($tagInfo->{'TypeOnly'})
244 0 10 unless $raf->Read($buff, $len2) >= $len
245 3 0 unless ($tagInfo->{'SubDirectory'} or $tagInfo->{'Binary'})
255 0 0 if ++$n < 100
259 0 0 unless $raf->Read($buff, $len2) == $len2
262 0 4 unless $raf->Seek($len2, 1)
267 0 2 if $err