Condition Coverage

blib/lib/Image/ExifTool/FlashPix.pm
Criterion Covered Total %
condition 49 142 34.5


and 3 conditions

line !l l&&!r l&&r condition
1428 181 33 2 $noPad and defined $len
214 0 2 $noPad and defined $len and $len & 3
1458 0 0 0 $v2 > 0 and $v2 < $sec100yr
0 0 0 $val < 0 and $val + $unixTimeZero > 0
1513 207 2 0 @vals > 1 and not wantarray
1555 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"
1572 0 0 0 $dirLen > 2 and &Get16u($dataPt, 0) == 42476
1666 0 0 0 $len and $off + $len <= length $$docTable
1844 6 236 26 not $custom and $tag == 1 || $tag == 2147483648
2 0 184 $tagTablePtr->{'VARS'} and not $custom
1898 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
1979 23 0 2 $name =~ /(.*) \d{6}$/s and $tagTablePtr->{$1}
0 2 21 $name =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1}
2001 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"
2060 48 0 0 defined $obj->{'Stream'} and length $obj->{'Stream'}
2124 0 0 1 $fileType and $fpxFileType{$fileType}
2166 0 0 1 $raf->Seek($offset, 0) and $raf->Read($fatSect, $sectSize) == $sectSize
2186 0 0 0 $raf->Seek($offset, 0) and $raf->Read($buff, $sectSize) == $sectSize
2205 0 0 1 defined $miniFat and defined $dir
2268 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}
2328 0 0 3 $tagInfo and $buff
2357 0 11 39 defined $num and $objIndex{$num}
2360 0 39 0 $docNums and @$docNums
2370 0 0 0 $extra and $extra->{'G3'}

or 2 conditions

line l !l condition
1762 0 25 $dirInfo->{'DirStart'} || 0
2096 0 0 $$used[scalar @subDoc] || 0

or 3 conditions

line l !l&&r !l&&!r condition
1436 2 0 23 $format eq "VT_BLOB" or $format eq "VT_CF"
1454 0 0 49 $val < 0 or $val > $sec100yr
1763 2 23 0 $dirInfo->{'DirLen'} || length($$dataPt) - $pos
1839 268 0 0 $oleFormat{$format} || "Type $format"
1840 46 0 0 $oleFlags{$flags} || sprintf('0x%x', $flags)
1844 26 0 236 $tag == 1 || $tag == 2147483648
1898 33 0 0 $offset <= 2147483647 || $raf->{'LargeFileSupport'}
1979 2 21 2 $name =~ /(.*) \d{6}$/s and $tagTablePtr->{$1} or $name =~ /(.*)_[0-9a-f]{16}$/s and $tagTablePtr->{$1}
2001 0 0 0 $et->{'FujiPreview'} || $dirLen > 64 && substr($$dataPt, $dirStart + 60, 4) eq "\377\330\377\333"
2012 0 0 0 $overlap < 0 or $dirLen - $overlap < 13
2268 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}
2286 3 0 2 $tagInfo or $verbose
2290 3 0 0 $dirEntryType[$type] || $type
2315 0 0 0 {0, 'Red', 1, 'Black'}->{$flags} || $flags
2384 0 0 0 $et->{'CompObjUserType'} || $et->{'Software'}