Condition Coverage

blib/lib/Image/ExifTool/RIFF.pm
Criterion Covered Total %
condition 27 101 26.7


and 3 conditions

line !l l&&!r l&&r condition
1555 1 0 1 @part >= 5 and $mon = $monthNum{ucfirst lc $part[1]}
1608 0 0 2 $val[2] and $val[3]
1611 2 0 0 $rat > "1.9" and $rat < "3.1"
1638 0 0 0 defined $val[0] and defined $val[1]
1733 0 0 13 defined $charset and $charset eq 0
1750 29 0 5 $tag eq "LIST" and $len >= 4
1773 7 0 3 $format and $format eq "string"
1991 0 0 0 $buff =~ /^(LA0[234]|OFR |LPAC|wvpk)/ and $raf->Read($buf2, 1024)
1994 0 0 0 $buff =~ /WAVE(.{4})?fmt /gs and $raf->Seek(pos($buff) - 4, 0)
2014 7 0 0 $validate and $pos != $riffEnd
2020 28 0 4 $tag eq "VP8X" and $type eq "WEBP"
2022 21 1 0 $tag eq "data" and $len == 4294967295
22 0 0 $tag eq "data" and $len == 4294967295 and $et->{'DataSize64'}
2044 29 0 0 $et->Options("FastScan") and $tag eq 'data' || $tag eq 'idx1' || $tag eq 'LIST_movi' && !$ee
2053 29 0 0 $ee and $tag =~ /^(\d{2})tx$/
2060 0 0 0 $verbose || $unknown and not $tag =~ /^(data|idx1|LIST_movi|RIFF|\d{2}(db|dc|wb))$/
0 0 0 $tag eq "LIST_movi" and $ee
2063 0 4 25 $tagInfo and ref $tagInfo eq "HASH"
4 25 0 $tagInfo and ref $tagInfo eq "HASH" and $tagInfo->{'SetGroups'}
2066 29 0 0 not $tagInfo and $verbose || $unknown
2080 0 0 0 $validate and $pos - 8 != $riffEnd
2091 0 0 0 $len > 2147483647 and not $et->Options("LargeFileSupport")
2095 0 0 0 $validate and $len2
2097 0 0 0 $raf->Seek($len2 - 1, 1) and $raf->Read($buff, 1) == 1

or 2 conditions

line l !l condition
1665 0 0 $subdir->{'Start'} || 0
1676 0 0 $dirInfo->{'Base'} || 0
1727 13 0 $dirInfo->{'Base'} || 0
2054 0 0 $et->{'RIFFStreamCodec'}[$1] || 'Unknown'

or 3 conditions

line l !l&&r !l&&!r condition
1758 0 0 6 $verbose or $unknown
1772 0 3 7 $tagInfo->{'Format'} || $tagTbl->{'FORMAT'}
1929 0 0 0 not $$dataPt =~ /\$(GC|GA),(\d+)/ or $1 ne $time
2044 0 0 0 $tag eq 'data' || $tag eq 'idx1' || $tag eq 'LIST_movi' && !$ee
2060 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))$/
2066 0 0 0 $verbose || $unknown