Branch Coverage

blib/lib/Image/ExifTool/AIFF.pm
Criterion Covered Total %
branch 27 58 46.5


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" and $et->{'VALUE'}{'FileType'}
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)
230 0 0 if (not $et->Options('LargeFileSupport')) { }
0 0 elsif ($et->Options('LargeFileSupport') eq '2') { }
237 0 0 if ($tagInfo)
242 10 4 if ($tagInfo) { }
0 4 elsif (not $len) { }
0 4 elsif ($verbose > 2 and $len2 < 1024000) { }
243 2 8 if ($tagInfo->{'TypeOnly'})
248 0 10 unless $raf->Read($buff, $len2) >= $len
249 3 0 unless ($tagInfo->{'SubDirectory'} or $tagInfo->{'Binary'})
259 0 0 if ++$n < 100
263 0 0 unless $raf->Read($buff, $len2) == $len2
266 0 4 unless $raf->Seek($len2, 1)
271 0 2 if $err