Condition Coverage

blib/lib/Image/ExifTool/PhaseOne.pm
Criterion Covered Total %
condition 41 89 46.0


and 3 conditions

line !l l&&!r l&&r condition
451 0 0 2 $tagTablePtr->{'VARS'} and $tagTablePtr->{'VARS'}{'ENTRY_SIZE'}
510 41 61 0 $tagInfo and ref $tagInfo ne "HASH"
511 41 59 0 $tagInfo and $tagInfo->{'SubDirectory'}
99 0 0 $et->{'DropTags'} and $tagInfo && $tagInfo->{'Drop'} || $size > 8192
537 0 0 1 defined $newValue and length $newValue
551 15 41 0 $tagInfo and $tagInfo->{'PutFirst'}
592 0 0 5 $tagTablePtr->{'VARS'} and $tagTablePtr->{'VARS'}{'ENTRY_SIZE'}
664 134 0 0 $count > 100000 and not $binary
674 49 16 1 $exp > 120 and $exp < 140
681 134 0 0 $md5 and $tagInfo
134 0 0 $md5 and $tagInfo and $tagInfo->{'IsImageData'}

or 2 conditions

line l !l condition
444 1 1 $dirInfo->{'DataPos'} || 0
445 0 2 $dirInfo->{'DirStart'} || 0
456 2 0 $tagTablePtr->{'TAG_PREFIX'} || 'PhaseOne'
583 5 0 $dirInfo->{'DataPos'} || 0
0 5 $dirInfo->{'Base'} || 0
584 2 3 $dirInfo->{'DirStart'} || 0
597 5 0 $tagTablePtr->{'TAG_PREFIX'} || 'PhaseOne'

or 3 conditions

line l !l&&r !l&&!r condition
392 0 0 0 $parms{'Count'} || $size
441 2 0 0 %$newTags or $et->{'DropTags'}
0 0 0 %$newTags or $et->{'DropTags'} or $et->{'EDIT_DIRS'}{'PhaseOne'}
446 1 1 0 $dirInfo->{'DirLen'} || $dirInfo->{'DataLen'} - $dirStart
473 0 0 2 $numEntries < 2 or $numEntries > 300
0 0 2 $numEntries < 2 or $numEntries > 300 or $ifdEnd > $dirLen
509 2 59 41 $newTags->{$tagID} || $tagTablePtr->{$tagID}
511 0 0 0 $tagInfo && $tagInfo->{'Drop'} || $size > 8192
519 2 0 0 $formatStr eq "string" or $formatStr eq "undef"
550 7 1 94 $size & 3 or not $size
585 5 0 0 $dirInfo->{'DirLen'} || $dirInfo->{'DataLen'} - $dirStart
613 0 0 4 $numEntries < 2 or $numEntries > 300
0 0 4 $numEntries < 2 or $numEntries > 300 or $ifdEnd > $dirLen
661 0 0 70 $verbose or $htmlDump