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
10407 29993 10512 13070 $a =~ /\./ and $b =~ /\./
10469 0 0 0 $count and $count < 256
10471 0 0 0 $format >= 1 and $format <= 10
10493 0 0 0 $tag =~ /:$/ and $val =~ /\b$tag\s*([^\s;,:]+)/
10578 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
10580 0 0 0 $lf != $sf and $lf != 0
10581 0 0 0 $sa != $la and $la != 0
10669 0 0 0 $offset[-1] > $len and $offset[-1] <= $dirLen
10700 0 0 0 ref $tagInfo eq "HASH" and $tagInfo->{'SubDirectory'}
10718 0 0 0 not defined $tagTablePtr->{$tag} and $unknown > 1
10784 0 0 0 $et->{'Model'} eq "DSLR-A100" and length $$valPt == 4
10819 0 0 0 $entry{'50740'} and $et->{'MRWDirData'}
10821 0 0 0 $entry{'330'} and $et->{'A100DataOffset'}
10832 0 0 0 $pad = 4 - $remain and $totalLen += $pad
10844 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'}
11130 0 0 0 $dataLen < 4 and $raf
11132 0 0 0 $raf->Seek($pos, 0) and $raf->Read($buff, 4) == 4
11141 0 0 0 $dataPt and $$dataPt =~ /^\0MR[IM]/
11154 0 0 0 $srfLen > 0 and $raf->Read($buff, $srfLen) == $srfLen
11170 0 0 0 not $outfile and $et->{'HTML_DUMP'}
11191 0 0 0 $result and $et->{'SR2SubIFDOffset'}
11198 0 0 0 $offset and $length
0 0 0 $offset and $length and defined $key
11201 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)
11209 0 0 0 $verbose > 2 and not $outfile
11248 0 0 0 $outfile and @subifdPos
11288 0 0 0 $found{'29184'} and $found{'29185'}

or 2 conditions

line l !l condition
10456 0 0 $dirInfo->{'DirStart'} || 0
10638 0 0 $dirInfo->{'DirStart'} || 0
10926 0 0 $dirInfo->{'DirStart'} || 0
10941 0 0 $dirInfo->{'TagInfo'} || {'Name', 'data'}
10946 0 0 $dirInfo->{'Base'} || 0
10961 0 0 $dirInfo->{'DirStart'} || 0
10996 0 0 $dirInfo->{'DataPos'} || 0
0 0 $dirInfo->{'Base'} || 0
11120 0 0 $dirInfo->{'Base'} || 0
11131 0 0 $dirInfo->{'DirStart'} || 0
11241 0 0 $num || 1

or 3 conditions

line l !l&&r !l&&!r condition
10411 6821 6249 0 $a[0] <=> $b[0] || $a[1] <=> $b[1]
10457 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $start
10578 0 0 0 $lf == 0 || $lf >= $sf
0 0 0 $la == 0 || $la >= $sa
10590 0 0 0 $bits or $feature->[1]{$bits}
10592 0 0 0 $feature->[1]{$bits} || sprintf('Unknown(%.4x)', $bits)
10639 0 0 0 $dirInfo->{'DirLen'} || length $$dataPt
10927 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
10962 0 0 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
11119 0 0 0 $dirInfo->{'DataLen'} || length $$dataPt
11201 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)
11267 0 0 0 $tagID == 29184 or $tagID == 29185