Condition Coverage

blib/lib/Image/ExifTool/WriteCanonRaw.pl
Criterion Covered Total %
condition 43 59 72.8


and 3 conditions

line !l l&&!r l&&r condition
85 16 41 0 $tagInfo and $tagInfo->{'Name'} eq "UserComment"
90 0 38 19 $count and $size != $count * $fsiz
160 0 0 6 defined $rotation and defined $mapRotation{$rotation}
291 14 0 1 defined $permanent and not $permanent
307 334 1 1 @addTags and !defined($tag) || $tag >= $addTags[0]
347 0 0 97 not defined $count and $format
0 7 90 not defined $count and $format and $format ne "string"
7 18 72 not defined $count and $format and $format ne "string" and not $subdir
381 48 72 167 $format and not $count
389 124 42 67 $subdir and $subdir->{'TagTable'}
408 61 6 0 defined $subdir->{'Validate'} and not eval $subdir->{'Validate'}
412 6 0 61 defined $subdir and length $subdir
439 0 0 14 defined $newVal and $format
469 0 0 0 $writable and $writable eq "resize"
575 4 2 1 not $trailPt and $et->{'ADD_DIRS'}{'CanonVRD'}

or 2 conditions

line l !l condition
81 57 131 $mapRawTag{$rawTag} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
175 2 3 145 $tagName eq "JpgFromRaw" or $tagName eq "ThumbnailImage"
176 1 3 1 $$valPtr =~ /^\xff\xd8/ or $et->Options("IgnoreMinorErrors")
307 0 1 1 !defined($tag) || $tag >= $addTags[0]
350 14 28 148 $tagType == 40 or $tagType == 48