Condition Coverage

blib/lib/Image/ExifTool/RIFF.pm
Criterion Covered Total %
condition 28 112 25.0


and 3 conditions

line !l l&&!r l&&r condition
1606 1 0 1 @part >= 5 and $mon = $monthNum{ucfirst lc $part[1]}
1659 0 0 2 $val[2] and $val[3]
1662 2 0 0 $rat > "1.9" and $rat < "3.1"
1689 0 0 0 defined $val[0] and defined $val[1]
1784 0 0 13 defined $charset and $charset eq 0
1801 29 0 5 $tag eq "LIST" and $len >= 4
1824 7 0 3 $format and $format eq "string"
2044 0 0 0 $buff =~ /^(LA0[234]|OFR |LPAC|wvpk)/ and $raf->Read($buf2, 1024)
2047 0 0 0 $buff =~ /WAVE(.{4})?(junk|fmt )/gs and $raf->Seek(pos($buff) - 4, 0)
2053 7 0 0 $rf64 and $et->{'VALUE'}{'FileType'}
2082 0 0 0 $raf->Seek($moviEnd - 1, 0) and $raf->Read($buff, 1) == 1
2099 7 0 0 $validate and $pos != $riffEnd
2105 28 0 4 $tag eq "VP8X" and $type eq "WEBP"
2113 1 0 0 $len == 4294967295 and $et->{'DataSize64'}
2132 29 0 0 $et->Options("FastScan") and $tag eq 'data' || $tag eq 'idx1' || $tag eq 'LIST_movi' && !$ee
2141 29 0 0 $ee and $tag =~ /^(\d{2})tx$/
2148 0 0 0 $verbose || $unknown and not $tag =~ /^(data|idx1|LIST_movi|RIFF|\d{2}(db|dc|wb))$/
2151 29 0 0 $hash and $isImageData{$tag}
2156 0 4 25 $tagInfo and ref $tagInfo eq "HASH"
4 25 0 $tagInfo and ref $tagInfo eq "HASH" and $tagInfo->{'SetGroups'}
2159 29 0 0 not $tagInfo and $verbose || $unknown
2173 0 0 0 $validate and $pos - 8 != $riffEnd
2184 0 0 0 $hash and $isImageData{$tag}
2188 0 0 0 $tag eq "LIST_movi" and $ee
2204 0 0 0 $validate and $len2
2206 0 0 0 $raf->Seek($len2 - 1, 1) and $raf->Read($buff, 1) == 1

or 2 conditions

line l !l condition
1716 0 0 $subdir->{'Start'} || 0
1727 0 0 $dirInfo->{'Base'} || 0
1778 13 0 $dirInfo->{'Base'} || 0
2114 0 1 $et->{'RIFFDataLen'} || 0
2142 0 0 $et->{'RIFFStreamCodec'}[$1] || 'Unknown'

or 3 conditions

line l !l&&r !l&&!r condition
1809 0 0 6 $verbose or $unknown
1823 0 3 7 $tagInfo->{'Format'} || $tagTbl->{'FORMAT'}
1980 0 0 0 not $$dataPt =~ /\$(GC|GA),(\d+)/ or $1 ne $time
2132 0 0 0 $tag eq 'data' || $tag eq 'idx1' || $tag eq 'LIST_movi' && !$ee
2148 0 0 0 $verbose || $unknown
29 0 0 $tagInfo or $verbose || $unknown and not $tag =~ /^(data|idx1|LIST_movi|RIFF|\d{2}(db|dc|wb))$/
2159 0 0 0 $verbose || $unknown
2189 0 0 0 $raf->Seek($rewind, 0) or $err = 1, next