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
9408 0 0 5 not $lens =~ /x$/ and $lens =~ /(\d+)/
9431 12 0 39 $xres and $yres
9438 13 0 26 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0
13 0 26 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000
0 1 25 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000
1 0 25 $xres[0] % 1000 == 0 and $yres[0] % 1000 == 0 and $xres[0] >= 640000 and $yres[0] >= 480000 and $xres[0] < 10000000
1 0 25 $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 25 $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 25 $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 25 $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 25 $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 25 $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]
9466 22 0 0 $lensModel and $lensModel =~ /\d/
9488 0 3 0 $sf and not $lf
9489 0 1 2 $sa and not $la
9529 1 0 0 @matches > 1 and $lensModel
1 0 0 @matches > 1 and $lensModel and $lensModel =~ /(\| [ACS])/
9553 0 0 22 $longFocal and $longFocal != $shortFocal
9600 0 0 41 $h1 and $w1
9608 0 0 41 $h2 and $w2
9631 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
9658 0 0 0 $count and $count < 20
0 0 0 $count and $count < 20 and $raf->Read($buf2, $count * 32) == $count * 32
9695 8 0 4 $i == 2 and $len >= 4
9697 0 0 12 $len <= 65536 and $raf->Read($buf2, $len) == $len
9736 4 1 0 not defined $rtnVal and &Image::ExifTool::IsInt($val)
9795 4 0 812 $tagTablePtr->{$index} and $pos <= $size
9962 4 0 0 $et->Options('MakerNotes') || $et->{'REQ_TAG_LOOKUP'}{'makernotecanon'} and $dirInfo->{'DirLen'} > 8
10123 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
9712 0 0 $warn || 'Invalid original decision data'
9778 45 18 $dirInfo->{'Base'} || 0
9780 20 43 $dirInfo->{'DataPos'} || 0
9791 63 0 $tagTablePtr->{'FORMAT'} || 'int8u'
9814 753 0 &Image::ExifTool::FormatSize($format) || 1
9984 12 0 $dirInfo->{'DirStart'} || 0
10067 0 4 $dirInfo->{'DataPos'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
9465 0 22 6 $lensType eq -1 or $lensType eq 65535
9557 0 22 0 $lensType eq -1 or $lensType eq 65535
9603 0 0 41 abs $f1 - "1.33" < "0.01" or abs $f1 - "1.67" < "0.01"
9605 0 0 41 abs $f1 - "0.75" < "0.01" or abs $f1 - "0.6" < "0.01"
9641 0 0 4 $version == 1 or $version == 2
9743 44 0 0 $isoLookup{$val} || "Unknown ($val)"
9832 702 5 45 not $tagInfo->{'Unknown'} or $unknown
9962 0 0 4 $et->Options('MakerNotes') || $et->{'REQ_TAG_LOOKUP'}{'makernotecanon'}
9985 12 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $start
9993 0 0 16 $len < 8 or $pos + $len > $dirEnd
0 0 16 $len < 8 or $pos + $len > $dirEnd or not $tagTablePtr->{$tag}