Condition Coverage

blib/lib/Image/ExifTool/Sony.pm
Criterion Covered Total %
condition 5 160 3.1


and 3 conditions

line !l l&&!r l&&r condition
10379 29579 10843 13036 $a =~ /\./ and $b =~ /\./
10441 0 0 0 $count and $count < 256
10443 0 0 0 $format >= 1 and $format <= 10
10465 0 0 0 $tag =~ /:$/ and $val =~ /\b$tag\s*([^\s;,:]+)/
10550 0 0 0 $sf != 0 and $sa != 0
0 0 0 $sf != 0 and $sa != 0 and $lf == 0 || $lf >= $sf
0 0 0 $sf != 0 and $sa != 0 and $lf == 0 || $lf >= $sf and $la == 0 || $la >= $sa
10552 0 0 0 $lf != $sf and $lf != 0
10553 0 0 0 $sa != $la and $la != 0
10641 0 0 0 $offset[-1] > $len and $offset[-1] <= $dirLen
10672 0 0 0 ref $tagInfo eq "HASH" and $tagInfo->{'SubDirectory'}
10690 0 0 0 not defined $tagTablePtr->{$tag} and $unknown > 1
10756 0 0 0 $et->{'Model'} eq "DSLR-A100" and length $$valPt == 4
10791 0 0 0 $entry{'50740'} and $et->{'MRWDirData'}
10793 0 0 0 $entry{'330'} and $et->{'A100DataOffset'}
10804 0 0 0 $pad = 4 - $remain and $totalLen += $pad
10816 0 0 0 $entry{'513'} and $et->{'A100PreviewStart'}
0 0 0 $entry{'513'} and $et->{'A100PreviewStart'} and $entry{'514'}
0 0 0 $entry{'513'} and $et->{'A100PreviewStart'} and $entry{'514'} and $et->{'A100PreviewLength'}
11102 0 0 0 $dataLen < 4 and $raf
11104 0 0 0 $raf->Seek($pos, 0) and $raf->Read($buff, 4) == 4
11113 0 0 0 $dataPt and $$dataPt =~ /^\0MR[IM]/
11126 0 0 0 $srfLen > 0 and $raf->Read($buff, $srfLen) == $srfLen
11142 0 0 0 not $outfile and $et->{'HTML_DUMP'}
11163 0 0 0 $result and $et->{'SR2SubIFDOffset'}
11170 0 0 0 $offset and $length
0 0 0 $offset and $length and defined $key
11173 0 0 0 $raf and $raf->Seek($offset + $base, 0)
0 0 0 $raf and $raf->Seek($offset + $base, 0) and $raf->Read($buff, $length) == $length
0 0 0 $offset - $dataPos >= 0 and $offset - $dataPos + $length < $dataLen
0 0 0 $offset - $dataPos >= 0 and $offset - $dataPos + $length < $dataLen and $buff = substr($$dataPt, $offset - $dataPos, $length)
11181 0 0 0 $verbose > 2 and not $outfile
11220 0 0 0 $outfile and @subifdPos
11260 0 0 0 $found{'29184'} and $found{'29185'}

or 2 conditions

line l !l condition
10428 0 0 $dirInfo->{'DirStart'} || 0
10610 0 0 $dirInfo->{'DirStart'} || 0
10898 0 0 $dirInfo->{'DirStart'} || 0
10913 0 0 $dirInfo->{'TagInfo'} || {'Name', 'data'}
10918 0 0 $dirInfo->{'Base'} || 0
10933 0 0 $dirInfo->{'DirStart'} || 0
10968 0 0 $dirInfo->{'DataPos'} || 0
0 0 $dirInfo->{'Base'} || 0
11092 0 0 $dirInfo->{'Base'} || 0
11103 0 0 $dirInfo->{'DirStart'} || 0
11213 0 0 $num || 1

or 3 conditions

line l !l&&r !l&&!r condition
10383 6835 6201 0 $a[0] <=> $b[0] || $a[1] <=> $b[1]
10429 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $start
10550 0 0 0 $lf == 0 || $lf >= $sf
0 0 0 $la == 0 || $la >= $sa
10562 0 0 0 $bits or $feature->[1]{$bits}
10564 0 0 0 $feature->[1]{$bits} || sprintf('Unknown(%.4x)', $bits)
10611 0 0 0 $dirInfo->{'DirLen'} || length $$dataPt
10899 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
10934 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
11091 0 0 0 $dirInfo->{'DataLen'} || length $$dataPt
11173 0 0 0 $raf and $raf->Seek($offset + $base, 0) and $raf->Read($buff, $length) == $length or $offset - $dataPos >= 0 and $offset - $dataPos + $length < $dataLen and $buff = substr($$dataPt, $offset - $dataPos, $length)
11239 0 0 0 $tagID == 29184 or $tagID == 29185