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
10434 29951 10675 12968 $a =~ /\./ and $b =~ /\./
10496 0 0 0 $count and $count < 256
10498 0 0 0 $format >= 1 and $format <= 10
10520 0 0 0 $tag =~ /:$/ and $val =~ /\b$tag\s*([^\s;,:]+)/
10605 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
10607 0 0 0 $lf != $sf and $lf != 0
10608 0 0 0 $sa != $la and $la != 0
10696 0 0 0 $offset[-1] > $len and $offset[-1] <= $dirLen
10727 0 0 0 ref $tagInfo eq "HASH" and $tagInfo->{'SubDirectory'}
10745 0 0 0 not defined $tagTablePtr->{$tag} and $unknown > 1
10811 0 0 0 $et->{'Model'} eq "DSLR-A100" and length $$valPt == 4
10846 0 0 0 $entry{'50740'} and $et->{'MRWDirData'}
10848 0 0 0 $entry{'330'} and $et->{'A100DataOffset'}
10859 0 0 0 $pad = 4 - $remain and $totalLen += $pad
10871 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'}
11157 0 0 0 $dataLen < 4 and $raf
11159 0 0 0 $raf->Seek($pos, 0) and $raf->Read($buff, 4) == 4
11168 0 0 0 $dataPt and $$dataPt =~ /^\0MR[IM]/
11181 0 0 0 $srfLen > 0 and $raf->Read($buff, $srfLen) == $srfLen
11197 0 0 0 not $outfile and $et->{'HTML_DUMP'}
11218 0 0 0 $result and $et->{'SR2SubIFDOffset'}
11225 0 0 0 $offset and $length
0 0 0 $offset and $length and defined $key
11228 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)
11236 0 0 0 $verbose > 2 and not $outfile
11275 0 0 0 $outfile and @subifdPos
11315 0 0 0 $found{'29184'} and $found{'29185'}

or 2 conditions

line l !l condition
10483 0 0 $dirInfo->{'DirStart'} || 0
10665 0 0 $dirInfo->{'DirStart'} || 0
10953 0 0 $dirInfo->{'DirStart'} || 0
10968 0 0 $dirInfo->{'TagInfo'} || {'Name', 'data'}
10973 0 0 $dirInfo->{'Base'} || 0
10988 0 0 $dirInfo->{'DirStart'} || 0
11023 0 0 $dirInfo->{'DataPos'} || 0
0 0 $dirInfo->{'Base'} || 0
11147 0 0 $dirInfo->{'Base'} || 0
11158 0 0 $dirInfo->{'DirStart'} || 0
11268 0 0 $num || 1

or 3 conditions

line l !l&&r !l&&!r condition
10438 6718 6250 0 $a[0] <=> $b[0] || $a[1] <=> $b[1]
10484 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $start
10605 0 0 0 $lf == 0 || $lf >= $sf
0 0 0 $la == 0 || $la >= $sa
10617 0 0 0 $bits or $feature->[1]{$bits}
10619 0 0 0 $feature->[1]{$bits} || sprintf('Unknown(%.4x)', $bits)
10666 0 0 0 $dirInfo->{'DirLen'} || length $$dataPt
10954 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
10989 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
11146 0 0 0 $dirInfo->{'DataLen'} || length $$dataPt
11228 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)
11294 0 0 0 $tagID == 29184 or $tagID == 29185