Branch Coverage

blib/lib/Image/ExifTool/BigTIFF.pm
Criterion Covered Total %
branch 23 86 26.7


line true false branch
36 0 1 if ($htmlDump)
43 0 1 if ($dirStart > $maxOffset and not $et->Options("LargeFileSupport"))
47 0 1 unless ($raf->Seek($dirStart, 0))
52 0 1 unless ($raf->Read($dirBuff, 8) == 8)
57 0 1 if $verbose > 0
59 0 1 if ($bsize > $maxOffset)
64 0 1 unless ($raf->Read($dirBuff, $bsize) == $bsize)
69 0 1 unless $raf->Read($nextIFD, 8) == 8
70 0 1 if ($htmlDump)
72 0 0 if (defined $nextIFD)
76 0 0 if $off
87 0 8 unless (defined $formatSize)
97 0 8 unless defined $tagInfo or $verbose
100 0 8 if ($size > 8) { }
101 0 0 if ($size > $maxOffset)
106 0 0 if ($valuePtr > $maxOffset and not $et->Options("LargeFileSupport"))
110 0 0 unless ($raf->Seek($valuePtr, 0) and $raf->Read($valBuff, $size) == $size)
119 0 8 if (defined $tagInfo and not $tagInfo)
124 0 8 if ($htmlDump)
127 0 0 if defined $rational
129 0 0 if ($tagID == 37500 and $dirName eq 'ExifIFD') { }
0 0 elsif ($tagInfo) { }
140 0 0 if ($size > 8) { }
146 0 0 if length $tval > 32
147 0 0 if ($formatStr =~ /^(string|undef|binary)/) { }
0 0 elsif ($tagInfo and &Image::ExifTool::IsInt($tval)) { }
151 0 0 if ($tagInfo->{'IsOffset'}) { }
0 0 elsif ($tagInfo->{'PrintHex'}) { }
159 0 0 if ($tagInfo and $tagInfo->{'SubIFD'}) { }
165 0 0 if ($size > 8)
167 0 0 $tagInfo && $tagInfo->{'SubDirectory'} && $tagInfo->{'MakerNotes'} ? :
171 0 8 if ($tagInfo and $tagInfo->{'SubIFD'}) { }
173 0 0 if $verbose > 0
188 0 0 if $i
210 8 0 if $tagKey
213 0 1 unless $dirName =~ /^(IFD|SubIFD)(\d*)$/
215 0 1 unless defined $nextIFD
217 1 0 unless $dirStart
233 0 1 unless $raf->Read($buff, 16) == 16
234 0 1 unless $buff =~ /^(MM\0\x2b\0\x08\0\0|II\x2b\0\x08\0\0\0)/
235 0 1 if ($dirInfo->{'OutFile'})
242 0 1 if ($et->{'HTML_DUMP'})
243 0 0 &GetByteOrder() eq 'II' ? :