Condition Coverage

blib/lib/Image/ExifTool/WriteExif.pl
Criterion Covered Total %
condition 406 816 49.7


and 2 conditions

line l !l condition
474 0 0 $et->Warn("$errStr. IFD dropped.") and return ""

and 3 conditions

line !l l&&!r l&&r condition
164 7 16 0 $proc ne \&Image::ExifTool::Exif::ProcessExif and $tagInfo->{'Name'} =~ /Text/
23 0 0 $tagInfo->{'PossiblePreview'} and $dirLen > 6
23 0 0 $tagInfo->{'PossiblePreview'} and $dirLen > 6 and substr($$dataPt, $dirStart, 3) eq "\377\330\377"
200 0 0 23 defined $rtnValue and length $rtnValue
214 9 0 0 $dirInfo->{'Parent'} eq "IFD0" and $hdr =~ /^(PENTAX |SAMSUNG)\0/
293 0 0 0 $raf->Seek($offset + $base, 0) and $raf->Read($buff, 2) == 2
295 0 0 0 $numEntries > 1 and $numEntries < 64
304 0 0 0 $format > 0 and $format <= 13
331 0 0 0 ref $tagTablePtr->{$tagID} eq "HASH" and $tagTablePtr->{$tagID}{'FixCount'}
351 15 39 278 defined $et->{'TIFF_END'} and $et->{'TIFF_END'} < $end
371 63 16 6 !defined($vInfo->{'259'}) || $vInfo->{'259'} eq '1' and $vInfo->{'256'}
16 0 6 !defined($vInfo->{'259'}) || $vInfo->{'259'} eq '1' and $vInfo->{'256'} and $vInfo->{'257'}
0 1 5 !defined($vInfo->{'259'}) || $vInfo->{'259'} eq '1' and $vInfo->{'256'} and $vInfo->{'257'} and $vInfo->{'279'} || $vInfo->{'325'}
383 0 0 0 $et->{'FILE_TYPE'} eq "EPS" and @bitsPerSample == 1
397 4 0 1 $expectedBytes != $totalBytes and not $et->{'TIFF_TYPE'} =~ /^(K25|KDC|MEF|ORF|SRF)$/
440 0 0 0 $sizeID and $offsetInfo->{$sizeID}
452 0 0 0 $offset =~ /^\d+$/ and $size
0 0 0 $offset =~ /^\d+$/ and $size and $size =~ /^\d+$/
0 0 0 $offset =~ /^\d+$/ and $size and $size =~ /^\d+$/ and $size
473 0 0 0 $tagTablePtr->{'VARS'} and $tagTablePtr->{'VARS'}{'MINOR_ERRORS'}
497 0 0 0 $raf->Seek($base, 0) and $raf->Read($buff, 8) == 8
498 0 0 0 &SetByteOrder(substr($buff, 0, 2)) and &Get16u(\$buff, 2) == $magic
579 170 100 65 $name and $dirName eq "MakerNotes"
270 57 8 $name and $dirName eq "MakerNotes" and not $name =~ /^MakerNote/
588 217 0 118 $dirName =~ /^(IFD0|SubIFD)$/ and not defined $dirInfo->{'Multi'}
613 84 0 0 $dirLen and $dirStart + 4 >= $dataLen
617 0 0 38 $raf->Seek($offset + $base, 0) and $raf->Read($buff, 2) == 2
636 0 13 25 $dataLen == $len + 6 and $dirInfo->{'Multi'} || $buff =~ /\0{4}$/
652 0 0 0 $n and defined $rtn
661 4587 33 101 $tagID < $lastID and $tagID || $tagTablePtr->{'0'}
665 270 22 0 $unsorted and not $inMakerNotes || $et->IsRawType
687 309 18 56 $dirName eq "MakerNotes" and $dirInfo->{'Parent'} =~ /^(ExifIFD|IFD0)$/
327 0 56 $dirName eq "MakerNotes" and $dirInfo->{'Parent'} =~ /^(ExifIFD|IFD0)$/ and not $et->{'TIFF_TYPE'} =~ /^(ARW|SR2)$/
18 0 56 $dirName eq "MakerNotes" and $dirInfo->{'Parent'} =~ /^(ExifIFD|IFD0)$/ and not $et->{'TIFF_TYPE'} =~ /^(ARW|SR2)$/ and not $et->{'LeicaTrailerPos'}
0 54 2 $dirName eq "MakerNotes" and $dirInfo->{'Parent'} =~ /^(ExifIFD|IFD0)$/ and not $et->{'TIFF_TYPE'} =~ /^(ARW|SR2)$/ and not $et->{'LeicaTrailerPos'} and &Image::ExifTool::MakerNotes::FixBase($et, $dirInfo)
696 2 0 0 $et->{'TIFF_TYPE'} eq "SRW" and $et->{'Make'} eq "SAMSUNG"
2 0 0 $et->{'TIFF_TYPE'} eq "SRW" and $et->{'Make'} eq "SAMSUNG" and $et->{'Model'} eq "EK-GN120"
706 181 110 6 $dirName eq "IFD0" and defined $et->{'JFIFYResolution'}
733 34 2 0 defined $perm and not $perm
759 309 74 0 $inMakerNotes and $et->{'Model'} eq "Canon EOS 40D"
774 1757 161 5104 defined $oldID and $oldID == $newID
784 4721 0 0 $oldFormat < 1 || $oldFormat > 13 and $oldFormat != 129
0 0 0 $oldFormat == 16 && $et->{'Make'} eq 'Apple' && $inMakerNotes
4721 0 0 $oldFormat < 1 || $oldFormat > 13 and $oldFormat != 129 and not $oldFormat == 16 && $et->{'Make'} eq 'Apple' && $inMakerNotes
789 0 0 0 $dirName eq "MakerNotes" and $et->{'Make'} =~ /KODAK/i && $dirInfo->{'Name'} && $dirInfo->{'Name'} eq 'SubIFD3' || $numEntries == 12 && $et->{'Make'} eq 'SONY' && $index >= 8
800 0 0 0 $oldFormat == 0 and $index
0 0 0 $oldFormat == 0 and $index and $oldCount == 0
825 1891 27 2803 $oldCount < 2 and $oldInfo
1918 2803 0 $oldCount < 2 and $oldInfo and $oldInfo->{'FixCount'}
829 0 0 0 defined $i and $i < $offList->$#*
855 122 2024 0 ref $tagTablePtr->{$oldID} eq "HASH" and $tagTablePtr->{$oldID}{'EntryBased'}
863 2142 9 0 $valuePtr < $dirEnd and $valuePtr + $oldSize > $dirStart
884 0 0 0 $oldInfo and $oldInfo->{'ChangeBase'}
909 226 0 0 $oldSize > BINARY_DATA_LIMIT() and $origDirInfo->{'ImageData'}
0 0 0 $oldSize > BINARY_DATA_LIMIT() and $origDirInfo->{'ImageData'} and !defined($oldInfo) || $oldInfo && (!$oldInfo->{'SubDirectory'} || $oldInfo->{'ReadFromRAF'})
922 0 0 226 $raf->Seek($base + $valuePtr + $dataPos, 0) && $raf->Read($oldValue, $oldSize) == $oldSize
928 0 0 0 $success and $oldValue =~ /^(\xff\xd8\xff|(.|.{33})\xd8\xff\xdb)/s
936 0 0 0 $oldInfo and not $oldInfo->{'Unknown'}
984 0 4559 162 defined $oldInfo and not $oldInfo
990 162 0 0 $mayDelete{$oldID} and $oldInfo
162 0 0 $mayDelete{$oldID} and $oldInfo and !@newTags || $newTags[0] != $oldID
992 0 0 0 not $nvHash and $wrongDir
1005 0 0 5 $oldInfo && $oldInfo->{'SubIFD'}
4716 5 0 $oldFormat == 13 || $oldFormat == 18 and not $oldInfo && $oldInfo->{'SubIFD'}
1014 4538 183 0 $oldInfo->{'IsOffset'} || $oldInfo->{'SubIFD'} and not $Image::ExifTool::Exif::intFormat{$oldFormName}
1020 4708 9 4 $oldInfo->{'Drop'} and $et->{'DropTags'}
9 4 0 $oldInfo->{'Drop'} and $et->{'DropTags'} and $oldInfo->{'Drop'} == 1 || $oldInfo->{'Drop'} < $oldSize
1041 4583 134 0 $oldID <= $lastTagID and not $inMakerNotes || $et->IsRawType
1076 1626 0 0 $unsorted and $isNew
1077 0 0 0 $isNew > 0 and $hasOldID{$newID}
1082 0 0 0 $isNew < 0 and $hasNewID{$oldID}
1107 2179 3 19 $newID == 37500 and $isNew > 0
2182 19 0 $newID == 37500 and $isNew > 0 and $et->{'FileType'} eq "CR3"
1113 0 86 24 defined $curInfo and not $curInfo
1137 3 24 83 $curInfo and $et->{'NEW_VALUE'}{$curInfo}
1156 1100 0 148 defined $mandatory->{$newID} and not $noMandatory
1165 624 6 6 not defined $nvHash->{'Value'} and $nvHash->{'WantGroup'}
6 4 2 not defined $nvHash->{'Value'} and $nvHash->{'WantGroup'} and lc $nvHash->{'WantGroup'} eq lc $wrongDir
1179 29 0 4 $newInfo->{'Format'} and $newInfo->{'Writable'}
0 0 4 $newInfo->{'Format'} and $newInfo->{'Writable'} and $newInfo->{'Writable'} ne 1
2 27 0 $addDirs->{$newID} and $newInfo ne $addDirs->{$newID}
1228 2 0 239 $writable and $writable ne 1
1244 206 9 26 $inMakerNotes and $readFormName ne "string"
215 0 26 $inMakerNotes and $readFormName ne "string" and $readFormName ne "undef"
1259 882 0 2 $xDelete{$newID} and not defined $nvHash->{'Shift'}
1260 2 20 0 not defined $newVal and $newInfo->{'RawConvInv'}
20 0 0 not defined $newVal and $newInfo->{'RawConvInv'} and defined $nvHash->{'Value'}
1270 731 132 19 $newCount and $newCount < 0
1284 196 686 0 $et->{'FILE_TYPE'} eq "JPEG" and length $newValue > 65436
882 0 0 $et->{'FILE_TYPE'} eq "JPEG" and length $newValue > 65436 and $newInfo->{'Name'} ne "PreviewImage"
1291 880 1 1 $strEnc and $newFormName eq "string"
1314 10 0 0 $newInfo->{'OffsetPair'} and $newVal eq "4277010157"
1356 0 2 40 defined $newValue and length $newValue
1376 0 0 4 $newFormName and $Image::ExifTool::Exif::formatNumber{$newFormName}
1410 5283 113 8 $newInfo->{'DataTag'} and $isNew >= 0
1438 4865 44 452 $newInfo->{'SubDirectory'} and $isNew <= 0
4909 0 452 $newInfo->{'SubDirectory'} and $isNew <= 0 and not $isOverwriting
44 10 442 $newInfo->{'SubDirectory'} and $isNew <= 0 and not $isOverwriting and !defined($newInfo->{'Writable'}) || $newInfo->{'Writable'}
10 0 442 $newInfo->{'SubDirectory'} and $isNew <= 0 and not $isOverwriting and !defined($newInfo->{'Writable'}) || $newInfo->{'Writable'} and not $newInfo->{'ReadFromRAF'}
1440 42 1 0 $et->{'DEL_GROUP'}{'MakerNotes'} and $et->{'DEL_GROUP'}{'MakerNotes'} != 2 || $isNew <= 0
1443 0 0 0 $et->IsRawType == 2 && $dirName eq 'ExifIFD'
1 0 0 $et->IsRawType and not $et->IsRawType == 2 && $dirName eq 'ExifIFD'
1454 35 0 7 $isNew >= 0 and defined $set{$newID}
1458 0 1 6 $nvHash and $nvHash->{'MAKER_NOTE_FIXUP'}
1491 0 0 35 $oldInfo and $oldInfo->{'SubDirectory'}
1501 0 34 1 $writeProc and $writeProc eq \&Image::ExifTool::MakerNotes::WriteUnknownOrPreview
34 1 0 $writeProc and $writeProc eq \&Image::ExifTool::MakerNotes::WriteUnknownOrPreview and $oldValue =~ /^\xff\xd8\xff/
1510 0 1 1 $subTable->{'PROCESS_PROC'} and $subTable->{'PROCESS_PROC'} eq \&Image::ExifTool::ProcessBinaryData
1516 20 12 1 $changed == $et->{'CHANGED'} and $subdirInfo{'Fixup'}->IsEmpty
1583 26 2 0 $subdirInfo{'FixBase'} and $baseShift < 0
28 0 0 $subdirInfo{'FixBase'} and $baseShift < 0 and !$subdirInfo{'MinOffset'} || $subdirInfo{'MinOffset'} + $baseShift < 0
1603 24 1 4 $previewInfo and not $previewInfo->{'NoBaseShift'}
1620 0 336 0 !defined($subdir->{'Start'}) || $subdir->{'Start'} =~ /\$valuePtr/ and $subdir->{'TagTable'}
1698 0 0 0 $subTable->{'VARS'} and $subTable->{'VARS'}{'MINOR_ERRORS'}
1713 109 0 0 $hdrLen and $hdrLen > 0
109 0 0 $hdrLen and $hdrLen > 0 and $subdirStart <= $dataLen
1755 100 0 0 $writeCount < $readCount and $writeCount == 1
1827 329 1 5 $subFixup->{'Pointers'} and $subdirInfo{'Base'} == $base
1868 0 6 1 $oddInfo and $et->{'NEW_VALUE'}{$oddInfo}
1911 141 0 0 $Image::ExifTool::Exif::formatSize[$newFormat] != 4 and $newInfo->{'IsOffset'}
1940 272 0 0 $newInfo->{'Format'} and $newInfo->{'Format'} ne $formatStr
1970 654 4742 0 $oldInfo and $oldInfo->{'FixedSize'}
1971 5217 26 153 $Image::ExifTool::Exif::saveForValidate{$newID} and $tagTablePtr eq \%Image::ExifTool::Exif::Main
1983 0 2442 0 $newInfo and $newInfo->{'EntryBased'}
1992 1 0 1 $dataTag eq "PreviewImage" and $et->{'FILE_TYPE'} eq 'JPEG' || $et->{'GENERATE_PREVIEW_INFO'}
1 0 0 $dataTag eq "LeicaTrailer" and $et->{'LeicaTrailer'}
2001 1 0 0 $newInfo->{'IsOffset'} and $newInfo->{'IsOffset'} eq 2
2011 2446 0 1 $putFirst and $dirInfo->{'HeaderPtr'}
2040 0 9 177 defined $mandVal and $mandVal eq $$newValuePt
2076 217 117 49 $dirInfo->{'Multi'} && ($nextIfdOffset || $dirName eq 'IFD0' && $et->{'ADD_DIRS'}{'IFD1'} && $et->{'FILE_TYPE'} ne 'TIFF')
2081 365 1 17 $allMandatory and not $isNextIFD
366 13 4 $allMandatory and not $isNextIFD and $newEntries < $numEntries || $numEntries == 0
2090 335 47 1 $ifd and not $newEntries
2103 308 18 56 $dirName eq "MakerNotes" and $dirInfo->{'Parent'} =~ /^(ExifIFD|IFD0)$/
2105 0 48 8 defined $pad and $pad == 0 || $pad > 4 && $pad <= 32
2208 42 0 0 $dirName eq "SubIFD1" and not &ValidateIFD($dirInfo, $dirStart)
2221 1 0 0 $et->{'DEL_GROUP'}{$dirName} == 2 and $et->{'ADD_DIRS'}{$dirName}
2240 335 0 0 $et->{'HiddenData'} and not $dirInfo->{'Fixup'}
335 0 0 $et->{'HiddenData'} and not $dirInfo->{'Fixup'} and $et->{'FILE_TYPE'} eq "TIFF"
2244 0 0 0 $raf->Seek($hd->{'Offset'}, 0) and $raf->Read($hbuf, $hd->{'Size'}) == $hd->{'Size'}
0 0 0 $raf->Seek($hd->{'Offset'}, 0) and $raf->Read($hbuf, $hd->{'Size'}) == $hd->{'Size'} and $hbuf =~ /^\x55\x26\x11\x05\0/
2278 47 23 0 $offsetInfo->{'273'} and $offsetInfo->{'324'}
2281 0 0 0 $dirName eq "SubIFD" and $et->{'TIFF_TYPE'} eq "ARW"
0 0 0 $dirName eq "SubIFD" and $et->{'TIFF_TYPE'} eq "ARW" and $offsetInfo->{'279'}
0 0 0 $dirName eq "SubIFD" and $et->{'TIFF_TYPE'} eq "ARW" and $offsetInfo->{'279'} and $offsetInfo->{'325'}
0 0 0 $dirName eq "SubIFD" and $et->{'TIFF_TYPE'} eq "ARW" and $offsetInfo->{'279'} and $offsetInfo->{'325'} and $offsetInfo->{'273'}[2] == 1
2303 47 22 1 $stripOffsets and $stripOffsets->[0]{'PanasonicHack'}
69 0 0 $rawDataOffset and $rawDataOffset->[0]{'PanasonicHack'}
2320 41 1 28 $raf and defined $origDirInfo->{'ImageData'}
42 4 24 $raf and defined $origDirInfo->{'ImageData'} and $tagID == 273 || $tagID == 324 || $sizeInfo->[3][0] && $sizeInfo->[3][0] * scalar(@{$sizeInfo->[3];}) > 1000000
19 5 0 defined $dataTag && defined $offsetData{$dataTag}
4 0 24 $raf and defined $origDirInfo->{'ImageData'} and $tagID == 273 || $tagID == 324 || $sizeInfo->[3][0] && $sizeInfo->[3][0] * scalar(@{$sizeInfo->[3];}) > 1000000 and not defined $dataTag && defined $offsetData{$dataTag}
2383 2 0 68 @$oldOffset and @$oldSize
2408 0 5 37 $offset >= 0 and $offset + $size <= $dataLen
1 0 4 $raf and $raf->Seek($offset + $dbase + $dpos, 0)
1 0 4 $raf and $raf->Seek($offset + $dbase + $dpos, 0) and $raf->Read($buff, $size) == $size
1 0 0 $tagInfo->{'Name'} eq "ThumbnailOffset" and $offset >= 0
1 0 0 $tagInfo->{'Name'} eq "ThumbnailOffset" and $offset >= 0 and $offset < $dataLen
0 0 1 $tagInfo->{'Name'} eq "PreviewImageStart" and $et->{'FILE_TYPE'} eq "JPEG"
2451 21 3 0 $blockSize + $size & 1 and $n + 1 >= $count || !$oldEnd || $oldEnd != $$oldOffset[$n + 1]
2454 23 1 0 $origDirInfo->{'PreserveImagePadding'} and $n + 1 < $count
24 0 0 $origDirInfo->{'PreserveImagePadding'} and $n + 1 < $count and $oldEnd
1 0 0 $origDirInfo->{'PreserveImagePadding'} and $n + 1 < $count and $oldEnd and $$oldOffset[$n + 1] > $oldEnd
2463 20 0 4 $imageDataFlag eq "SubIFD" and not $subIfdDataFixup
2486 4 0 0 $et->{'TIFF_TYPE'} eq "ARW" and $tagInfo->{'Name'} eq "ThumbnailOffset"
4 0 0 $et->{'TIFF_TYPE'} eq "ARW" and $tagInfo->{'Name'} eq "ThumbnailOffset" and $et->{'Model'} eq "DSLR-A100"
0 0 0 $et->{'TIFF_TYPE'} eq "ARW" and $tagInfo->{'Name'} eq "ThumbnailOffset" and $et->{'Model'} eq "DSLR-A100" and not $buff =~ /^\xff\xd8\xff/
2491 0 0 0 $pos < 65536 and $raf->Seek($pos + 65536, 0)
0 0 0 $pos < 65536 and $raf->Seek($pos + 65536, 0) and $raf->Read($try, $size) == $size
0 0 0 $pos < 65536 and $raf->Seek($pos + 65536, 0) and $raf->Read($try, $size) == $size and $try =~ /^\xff\xd8\xff/
2515 0 0 1 $r and not $raf
2518 0 0 1 $r->Seek($offset + $base + $dataPos, 0) and $r->Read($buff, $size) == $size
0 1 0 $r->Seek($offset + $base + $dataPos, 0) and $r->Read($buff, $size) == $size and $buff =~ /^.\xd8\xff[\xc4\xdb\xe0-\xef]/s
2531 6 0 8 $et->{'FILE_TYPE'} eq "JPEG" and not $tagInfo->{'MakerPreview'}
6 0 0 $et->{'TIFF_TYPE'} eq "ARW" and $et->{'Model'} eq "DSLR-A100"
2538 0 4 1 $tagInfo->{'IsOffset'} and $tagInfo->{'IsOffset'} eq 2
2541 0 0 5 $offset >= 0 and $offset + $size <= $dataLen
2596 60 0 0 defined $ttwLen and $ttwLen != length $newData
2628 20 4 4 $subFix and defined $subFix->{'BlockLen'}
24 0 4 $subFix and defined $subFix->{'BlockLen'} and $numBlocks > 0
2659 0 115 6 defined $newData and $deleteAll
2663 0 0 5 $$pt ne "LOAD_PREVIEW" and length($$pt) + length($newData) + 14 <= 65533
0 0 5 $$pt ne "LOAD_PREVIEW" and length($$pt) + length($newData) + 14 <= 65533 and not $previewInfo->{'IsTrailer'}
2703 0 0 0 $start and $start - 8 + $len <= length $newData
2711 0 322 13 defined $newData and length $newData < 12
2714 0 13 322 defined $newData and length $newData
13 322 0 defined $newData and length $newData and $et->{'FORCE_WRITE'}{'EXIF'}

or 2 conditions

line l !l condition
154 2 21 $dirInfo->{'DataPos'} || 0
163 6 7 $subdir->{'ProcessProc'} || $tagTablePtr->{'PROCESS_PROC'} || \&Image::ExifTool::Exif::ProcessExif
232 0 23 $subdirInfo{'FixedBy'} || 0
290 0 0 $dirInfo->{'DirStart'} || 0
291 0 0 $dirInfo->{'DataPos'} || 0
374 4 1 $vInfo->{'277'} || 1
491 0 0 $dirInfo->{'Base'} || 0
493 0 0 $dirInfo->{'Subdir'}{'Magic'} || 42
560 39 296 $dirInfo->{'DataPos'} || 0
561 288 47 $dirInfo->{'DirStart'} || 0
564 213 122 $dirInfo->{'Base'} || 0
567 335 0 $dirInfo->{'DirName'} || 'unknown'
569 192 143 $dirInfo->{'ImageData'} || ''
801 0 0 $ignoreCount || 0
831 0 0 $fixCount || 0
1601 0 29 $subdirInfo{'FixedBy'} || 0
1760 5 95 $newInfo->{'FixFormat'} || 'int32u'
1840 119 39 $newInfo->{'DataTag'} || ''
2272 102 0 $dirInfo->{'DirName'} || 'unknown'
2370 0 0 eval $tagInfo->{'WrongBase'} || 0
2643 3 0 $dirInfo->{'NewDataPos'} || 0
2670 0 5 $previewInfo->{'BaseShift'} || 0
2673 0 0 $fixup->GetMarkerPointers(\$newData, 'PreviewImage') || 0

or 3 conditions

line l !l&&r !l&&!r condition
115 5493 420 0 $tagInfo->{'Format'} || $tagInfo->{'Writable'} || $tagInfo->{'Table'}{'WRITABLE'}
116 0 129 6214 not $format or $format eq 1
164 0 0 23 $proc ne \&Image::ExifTool::Exif::ProcessExif and $tagInfo->{'Name'} =~ /Text/ or $proc eq \&Image::ExifTool::ProcessBinaryData
0 0 23 $proc ne \&Image::ExifTool::Exif::ProcessExif and $tagInfo->{'Name'} =~ /Text/ or $proc eq \&Image::ExifTool::ProcessBinaryData or $tagInfo->{'PossiblePreview'} and $dirLen > 6 and substr($$dataPt, $dirStart, 3) eq "\377\330\377"
262 0 0 0 $tagID or $index == 0
0 0 0 $tagID or $index == 0 or $allowZero
302 0 0 0 $tagID > $lastID or $dirInfo->{'AllowOutOfOrderTags'}
326 0 0 0 $format < 1 or $format > 13
371 16 6 63 !defined($vInfo->{'259'}) || $vInfo->{'259'} eq '1'
5 0 1 $vInfo->{'279'} || $vInfo->{'325'}
376 5 0 0 $vInfo->{'279'} || $vInfo->{'325'}
381 0 0 5 $et->{'DOC_NUM'} or $et->{'FILE_TYPE'} ne "TIFF"
391 0 0 0 $_ < 1 or $_ > 32
472 0 0 0 $tagTablePtr->{'GROUPS'}{'0'} eq 'MakerNotes' || $et->{'FILE_TYPE'} eq 'MOV'
562 278 0 57 $dirInfo->{'DataLen'} || length $$dataPt
563 134 107 94 $dirInfo->{'DirLen'} || $dataLen - $dirStart
568 209 126 0 $dirInfo->{'Fixup'} || 'Image::ExifTool::Fixup'->new
582 116 85 134 $dirName eq "IFD0" or $dirName eq "ExifIFD"
605 0 122 261 $dirStart < 0 or $dirStart > $dataLen - 2
636 25 13 0 $dirInfo->{'Multi'} || $buff =~ /\0{4}$/
661 106 22 6 $tagID || $tagTablePtr->{'0'}
665 22 0 0 $inMakerNotes || $et->IsRawType
683 115 53 1889 ref $tagTablePtr->{$tagID} eq 'ARRAY' || $tagInfo->{'Condition'}
761 0 0 0 $fmt < 1 or $fmt > 13
784 0 0 4721 $oldFormat < 1 || $oldFormat > 13
789 0 0 0 $et->{'Make'} =~ /KODAK/i && $dirInfo->{'Name'} && $dirInfo->{'Name'} eq 'SubIFD3' || $numEntries == 12 && $et->{'Make'} eq 'SONY' && $index >= 8
817 524 61 4136 ref $oldInfo ne "HASH" or $oldInfo->{'Condition'}
855 5 0 2146 $dirInfo->{'EntryBased'} or ref $tagTablePtr->{$oldID} eq "HASH" and $tagTablePtr->{$oldID}{'EntryBased'}
865 7 219 1925 $valuePtr < 0 or $valuePtr + $oldSize > $dataLen
896 0 0 0 $oldInfo || $tmpInfo
909 0 0 0 !defined($oldInfo) || $oldInfo && (!$oldInfo->{'SubDirectory'} || $oldInfo->{'ReadFromRAF'})
940 0 0 0 $inMakerNotes || $truncOK
990 0 0 0 !@newTags || $newTags[0] != $oldID
1005 5 0 4716 $oldFormat == 13 || $oldFormat == 18
1014 77 106 4538 $oldInfo->{'IsOffset'} || $oldInfo->{'SubIFD'}
1020 4 0 0 $oldInfo->{'Drop'} == 1 || $oldInfo->{'Drop'} < $oldSize
1041 134 0 0 $inMakerNotes || $et->IsRawType
1086 0 0 0 $_ == $oldID or push @tmpTags, $_
1108 2019 72 110 $curInfo or $addDirs->{$newID}
1122 22 2 1 $tagInfo->{'Format'} || $tagInfo->{'Writable'}
1156 854 1020 228 $nvHash or defined $mandatory->{$newID} and not $noMandatory
1187 238 0 12 $nvHash or $xDelete{$newID}
1230 22 219 0 $newInfo->{'Format'} || $writable
1259 20 16 868 not defined $newVal or $xDelete{$newID} and not defined $nvHash->{'Shift'}
1341 0 0 42 $newInfo->{'MakerNotes'} or $newInfo->{'Name'} eq "SubIFD"
1413 4 0 4 defined $offsetData{$dataTag} or $dataTag eq "LeicaTrailer"
1417 4 0 0 $compInfo || $dataTag
1438 416 26 10 !defined($newInfo->{'Writable'}) || $newInfo->{'Writable'}
1440 1 0 0 $et->{'DEL_GROUP'}{'MakerNotes'} != 2 || $isNew <= 0
1499 1 34 0 $writeProc or $writeProc = $subTable->{'WRITE_PROC'}
1583 0 0 0 !$subdirInfo{'MinOffset'} || $subdirInfo{'MinOffset'} + $baseShift < 0
1620 332 4 0 !defined($subdir->{'Start'}) || $subdir->{'Start'} =~ /\$valuePtr/
1629 106 0 0 $newInfo->{'Groups'}{'1'} || $newInfo->{'Name'}
1690 0 15 94 $subdirStart < 0 or $subdirStart + 2 > $dataLen
1825 1 0 0 $oldSize or not $inMakerNotes
1844 0 0 9 $et->{'DEL_GROUP'}{'CanonVRD'} or $et->{'DEL_GROUP'}{'Trailer'}
1978 237 4 2447 $newSize & 1 or $newSize < $newCount * $fsize
1983 5 0 2442 $dirInfo->{'EntryBased'} or $newInfo and $newInfo->{'EntryBased'}
1992 1 0 0 $et->{'FILE_TYPE'} eq 'JPEG' || $et->{'GENERATE_PREVIEW_INFO'}
2038 11 175 0 $newInfo->{'Format'} || $newFormName
2081 10 4 3 $newEntries < $numEntries || $numEntries == 0
2105 7 8 41 $pad == 0 || $pad > 4 && $pad <= 32
2303 1 0 69 $stripOffsets and $stripOffsets->[0]{'PanasonicHack'} or $rawDataOffset and $rawDataOffset->[0]{'PanasonicHack'}
2320 24 0 4 $tagID == 273 || $tagID == 324 || $sizeInfo->[3][0] && $sizeInfo->[3][0] * scalar(@{$sizeInfo->[3];}) > 1000000
2353 0 0 70 $byteCounts < 0 or $byteCounts + $n > length $newData
2451 3 0 0 $n + 1 >= $count || !$oldEnd || $oldEnd != $$oldOffset[$n + 1]
2526 0 0 0 $dataTag || $tagInfo->{'Name'}
2608 0 0 0 $format < 1 or $format > 13
2663 5 0 0 $$pt ne "LOAD_PREVIEW" and length($$pt) + length($newData) + 14 <= 65533 and not $previewInfo->{'IsTrailer'} or $previewInfo->{'IsShort'}