Condition Coverage

blib/lib/Image/ExifTool/FlashPix.pm
Criterion Covered Total %
condition 56 178 31.4


and 3 conditions

line !l l&&!r l&&r condition
1328 181 33 2 $noPad and defined $len
214 0 2 $noPad and defined $len and $len & 3
1358 0 0 0 $v2 > 0 and $v2 < $sec100yr
0 0 0 $val < 0 and $val + $unixTimeZero > 0
1413 207 2 0 @vals > 1 and not wantarray
1462 0 0 0 $size and pos($$dataPt) + $size < length $$dataPt
1491 0 0 0 $et->{'FILE_TYPE'} ne "FLA" and $et->{'VALUE'}{'Format'}
0 0 0 $et->{'FILE_TYPE'} ne "FLA" and $et->{'VALUE'}{'Format'} and $et->{'VALUE'}{'Format'} eq "application/vnd.adobe.fla"
1508 0 0 0 $dirLen > 2 and &Get16u($dataPt, 0) == 42476
1599 0 0 0 $len and $off + $len <= length $$docTable
1777 6 236 26 not $custom and $tag == 1 || $tag == 2147483648
2 0 184 $tagTablePtr->{'VARS'} and not $custom
1831 0 0 33 $offset <= 2147483647 || $raf->{'LargeFileSupport'} and $raf->Seek($offset, 0)
0 0 33 $offset <= 2147483647 || $raf->{'LargeFileSupport'} and $raf->Seek($offset, 0) and $raf->Read($buff, $sectSize) == $sectSize
1912 23 0 2 $name =~ /(.*) \d{6}$/s and $tagTablePtr->{$1}
0 2 21 $name =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1}
1934 0 0 46 $fpxr and $fpxr->[$index]
0 0 0 $index == 512 and $dirLen > 60
0 0 0 $index == 512 and $dirLen > 60 and $et->{'FujiPreview'} || $dirLen > 64 && substr($$dataPt, $dirStart + 60, 4) eq "\377\330\377\333"
1993 48 0 0 defined $obj->{'Stream'} and length $obj->{'Stream'}
2060 0 0 1 $fileType and $fpxFileType{$fileType}
2102 0 0 1 $raf->Seek($offset, 0) and $raf->Read($fatSect, $sectSize) == $sectSize
2122 0 0 0 $raf->Seek($offset, 0) and $raf->Read($buff, $sectSize) == $sectSize
2141 0 0 1 defined $miniFat and defined $dir
2185 5 0 0 $tag eq 0 and not defined $ee
2202 2 0 0 defined $ee and $tag eq $ee
2212 2 0 0 $tag =~ /(.*) \d{6}$/s and $tagTablePtr->{$1}
2 0 0 $tag =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1}
2 0 0 $tag =~ /(.*)_[0-9]{4}$/s and $tagTablePtr->{$1}
2266 0 0 0 not $tagInfo and $tag =~ /^[0-9a-f]{1,3}$/
2276 0 0 3 defined $tagInfo and $buff
2278 0 1 2 $tagInfo and $tagInfo->{'SubDirectory'}
0 1 0 defined $size and $size > length $buff
2291 0 0 1 defined $size and $size < length $buff
2297 0 0 0 $et->{'IeImg_lkup'} and $et->{'IeImg_lkup'}{$num}
2301 0 0 0 $et->{'IeImg_class'} and $et->{'IeImg_class'}{$num}
2309 0 0 0 $buff =~ /^\0\x80\0\0\x01\0\0\0\x0e\0/ and length $buff > 18
2338 0 11 39 defined $num and $objIndex{$num}
2341 0 39 0 $docNums and @$docNums
2378 1 0 0 $et->{'IeImg_lkup'} and %{$et->{'IeImg_lkup'};}

or 2 conditions

line l !l condition
1565 0 0 $extra->{$key}{'G3'} || ''
1572 0 0 $extra->{$key}{'G3'} || ''
1585 0 0 $extra->{$key}{'G3'} || ''
1695 0 25 $dirInfo->{'DirStart'} || 0
2029 0 0 $$used[scalar @subDoc] || 0

or 3 conditions

line l !l&&r !l&&!r condition
1336 2 0 23 $format eq "VT_BLOB" or $format eq "VT_CF"
1354 0 0 49 $val < 0 or $val > $sec100yr
1696 2 23 0 $dirInfo->{'DirLen'} || length($$dataPt) - $pos
1772 268 0 0 $oleFormat{$format} || "Type $format"
1773 46 0 0 $oleFlags{$flags} || sprintf('0x%x', $flags)
1777 26 0 236 $tag == 1 || $tag == 2147483648
1831 33 0 0 $offset <= 2147483647 || $raf->{'LargeFileSupport'}
1912 2 21 2 $name =~ /(.*) \d{6}$/s and $tagTablePtr->{$1} or $name =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1}
1934 0 0 0 $et->{'FujiPreview'} || $dirLen > 64 && substr($$dataPt, $dirStart + 60, 4) eq "\377\330\377\333"
1945 0 0 0 $overlap < 0 or $dirLen - $overlap < 13
2212 0 0 2 $tag =~ /(.*) \d{6}$/s and $tagTablePtr->{$1} or $tag =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1}
0 0 2 $tag =~ /(.*) \d{6}$/s and $tagTablePtr->{$1} or $tag =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1} or $tag =~ /(.*)_[0-9]{4}$/s and $tagTablePtr->{$1}
2230 3 0 2 defined $tagInfo or $verbose
2234 3 0 0 $dirEntryType[$type] || $type
2259 0 0 0 {0, 'Red', 1, 'Black'}->{$flags} || $flags
2364 0 0 0 $et->{'CompObjUserType'} || $et->{'Software'}