Condition Coverage

blib/lib/Image/ExifTool/Canon.pm
Criterion Covered Total %
condition 62 140 44.2


and 3 conditions

line !l l&&!r l&&r condition
9437 0 0 5 not $lens =~ /x$/ and $lens =~ /(\d+)/
9460 12 0 43 $xres and $yres
9467 15 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0
15 0 28 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000
0 1 27 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000
1 0 27 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000
1 0 27 $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 27 $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 27 $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 27 $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 27 $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 27 $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]
9495 22 0 0 $lensModel and $lensModel =~ /\d/
9517 0 3 0 $sf and not $lf
9518 0 1 2 $sa and not $la
9558 1 0 0 @matches > 1 and $lensModel
1 0 0 @matches > 1 and $lensModel and $lensModel =~ /(\| [ACS])/
9582 0 0 22 $longFocal and $longFocal != $shortFocal
9629 0 0 41 $h1 and $w1
9637 0 0 41 $h2 and $w2
9660 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
9687 0 0 0 $count and $count < 20
0 0 0 $count and $count < 20 and $raf->Read($buf2, $count * 32) == $count * 32
9724 8 0 4 $i == 2 and $len >= 4
9726 0 0 12 $len <= 65536 and $raf->Read($buf2, $len) == $len
9765 4 1 0 not defined $rtnVal and &Image::ExifTool::IsInt($val)
9824 4 0 812 $tagTablePtr->{$index} and $pos <= $size
9991 4 0 0 $et->Options('MakerNotes') || $et->{'REQ_TAG_LOOKUP'}{'makernotecanon'} and $dirInfo->{'DirLen'} > 8
10152 0 0 23 defined $dirData and length $dirData
0 3 20 defined $dirData and length $dirData and $dirInfo->{'Fixup'}

or 2 conditions

line l !l condition
9741 0 0 $warn || 'Invalid original decision data'
9807 45 18 $dirInfo->{'Base'} || 0
9809 20 43 $dirInfo->{'DataPos'} || 0
9820 63 0 $tagTablePtr->{'FORMAT'} || 'int8u'
9843 753 0 &Image::ExifTool::FormatSize($format) || 1
10013 12 0 $dirInfo->{'DirStart'} || 0
10096 0 4 $dirInfo->{'DataPos'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
9494 0 22 6 $lensType eq -1 or $lensType eq 65535
9586 0 22 0 $lensType eq -1 or $lensType eq 65535
9632 0 0 41 abs $f1 - "1.33" < "0.01" or abs $f1 - "1.67" < "0.01"
9634 0 0 41 abs $f1 - "0.75" < "0.01" or abs $f1 - "0.6" < "0.01"
9670 0 0 4 $version == 1 or $version == 2
9772 39 0 0 $isoLookup{$val} || "Unknown ($val)"
9861 702 5 45 not $tagInfo->{'Unknown'} or $unknown
9991 0 0 4 $et->Options('MakerNotes') || $et->{'REQ_TAG_LOOKUP'}{'makernotecanon'}
10014 12 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $start
10022 0 0 16 $len < 8 or $pos + $len > $dirEnd
0 0 16 $len < 8 or $pos + $len > $dirEnd or not $tagTablePtr->{$tag}