Condition Coverage

blib/lib/Image/ExifTool/Canon.pm
Criterion Covered Total %
condition 63 152 41.4


and 3 conditions

line !l l&&!r l&&r condition
10014 0 0 5 not $lens =~ /x$/ and $lens =~ /(\d+)/
10039 12 0 42 $et->{'TAG_EXTRA'}{'FocalPlaneXResolution'} and $et->{'TAG_EXTRA'}{'FocalPlaneYResolution'}
10042 0 0 42 $xres and $yres
10049 13 0 29 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0
13 0 29 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000
0 1 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000
1 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000
1 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000 and $yres[0] < 10000000
0 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000 and $yres[0] < 10000000 and $xres[1] >= 61
0 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000 and $yres[0] < 10000000 and $xres[1] >= 61 and $xres[1] < 1500
0 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000 and $yres[0] < 10000000 and $xres[1] >= 61 and $xres[1] < 1500 and $yres[1] >= 61
0 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000 and $yres[0] < 10000000 and $xres[1] >= 61 and $xres[1] < 1500 and $yres[1] >= 61 and $yres[1] < 1000
0 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000 and $yres[0] < 10000000 and $xres[1] >= 61 and $xres[1] < 1500 and $yres[1] >= 61 and $yres[1] < 1000 and $xres[1] != $yres[1]
10076 24 0 0 $lensModel and $lensModel =~ /\d/
10100 0 3 0 $sf and not $lf
10101 0 1 2 $sa and not $la
10113 0 0 0 @maybe and $maybe[-1] =~ /^$lns/
10114 0 0 0 @likely and $likely[-1] =~ /^$lns/
10115 0 0 0 @matches and $matches[-1] =~ /^$lns/
10150 1 0 0 @matches > 1 and $lensModel
1 0 0 @matches > 1 and $lensModel and $lensModel =~ /(\| [ACS])/
10174 0 0 24 $longFocal and $longFocal != $shortFocal
10221 0 0 45 $h1 and $w1
10229 0 0 45 $h2 and $w2
10252 0 0 4 $raf->Seek($offset, 0) and $raf->Read($buff, 8) == 8
0 0 4 $raf->Seek($offset, 0) and $raf->Read($buff, 8) == 8 and $buff =~ /^\xff{4}.\0\0/s
10279 0 0 0 $count and $count < 20
0 0 0 $count and $count < 20 and $raf->Read($buf2, $count * 32) == $count * 32
10316 8 0 4 $i == 2 and $len >= 4
10318 0 0 12 $len <= 65536 and $raf->Read($buf2, $len) == $len
10357 4 1 0 not defined $rtnVal and &Image::ExifTool::IsInt($val)
10416 4 0 860 $tagTablePtr->{$index} and $pos <= $size
10587 4 0 0 $et->Options('MakerNotes') || $et->{'REQ_TAG_LOOKUP'}{'makernotecanon'} and $dirInfo->{'DirLen'} > 8
10749 0 0 24 defined $dirData and length $dirData
0 3 21 defined $dirData and length $dirData and $dirInfo->{'Fixup'}

or 2 conditions

line l !l condition
10333 0 0 $warn || 'Invalid original decision data'
10399 49 18 $dirInfo->{'Base'} || 0
10401 20 47 $dirInfo->{'DataPos'} || 0
10412 67 0 $tagTablePtr->{'FORMAT'} || 'int8u'
10435 797 0 &Image::ExifTool::FormatSize($format) || 1
10609 12 0 $dirInfo->{'DirStart'} || 0
10693 0 4 $dirInfo->{'DataPos'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
10075 0 24 6 $lensType eq -1 or $lensType eq 65535
10178 0 24 0 $lensType eq -1 or $lensType eq 65535
10224 0 0 45 abs $f1 - "1.33" < "0.01" or abs $f1 - "1.67" < "0.01"
10226 0 0 45 abs $f1 - "0.75" < "0.01" or abs $f1 - "0.6" < "0.01"
10262 0 0 4 $version == 1 or $version == 2
10364 41 0 0 $isoLookup{$val} || "Unknown ($val)"
10453 746 5 45 not $tagInfo->{'Unknown'} or $unknown
10587 0 0 4 $et->Options('MakerNotes') || $et->{'REQ_TAG_LOOKUP'}{'makernotecanon'}
10610 12 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $start
10618 0 0 16 $len < 8 or $pos + $len > $dirEnd
0 0 16 $len < 8 or $pos + $len > $dirEnd or not $tagTablePtr->{$tag}