| line |
true |
false |
branch |
|
1606
|
1 |
1 |
if (@part >= 5 and $mon = $monthNum{ucfirst lc $part[1]}) { } |
|
|
1 |
0 |
elsif ($val =~ m[(\d{4})/\s*(\d+)/\s*(\d+)/?\s+(\d+):\s*(\d+)\s*(P?)]) { } |
|
|
0 |
0 |
elsif ($val =~ m[(\d{4})[-/](\d+)[-/](\d+)\s+(\d+:\d+:\d+)]) { } |
|
1613
|
0 |
1 |
$6 ? : |
|
1633
|
0 |
0 |
if ($ss >= 60) |
|
1635
|
0 |
0 |
if ++$min >= 60 |
|
1658
|
2 |
0 |
if $val[0] |
|
1659
|
2 |
0 |
if ($val[2] and $val[3]) |
|
1662
|
0 |
2 |
if $rat > "1.9" and $rat < "3.1" |
|
1664
|
2 |
0 |
if defined $dur1 |
|
1665
|
2 |
0 |
unless $subDoc++ < $et->{'DOC_COUNT'} |
|
1671
|
0 |
0 |
if ($subDoc == 1) { } |
|
1676
|
0 |
0 |
if $j |
|
1677
|
0 |
0 |
unless defined $rawValue->{$key} |
|
1685
|
0 |
0 |
if $i < 2 |
|
1687
|
0 |
0 |
$key ? : |
|
1689
|
0 |
0 |
unless defined $val[0] and defined $val[1] |
|
1704
|
0 |
0 |
if $size < 4 |
|
1705
|
0 |
0 |
if ($et->Options("Verbose")) |
|
1710
|
0 |
0 |
unless ($tagInfo) |
|
1712
|
0 |
0 |
unless $tagInfo |
|
1715
|
0 |
0 |
if ($tagInfo->{'SubDirectory'}) { } |
|
1728
|
0 |
0 |
unless ($offset) |
|
1758
|
0 |
0 |
if $n > 2 |
|
1783
|
13 |
0 |
unless ($charset) |
|
1784
|
0 |
13 |
if ($et->{'CodePage'}) { } |
|
|
13 |
0 |
elsif (defined $charset and $charset eq '0') { } |
|
1791
|
0 |
13 |
if $verbose |
|
1797
|
0 |
34 |
if ($start + $len > $end) |
|
1801
|
5 |
29 |
if ($tag eq "LIST" and $len >= 4) |
|
1809
|
28 |
6 |
if ($tagInfo) { } |
|
|
0 |
6 |
elsif ($verbose or $unknown) { } |
|
1810
|
17 |
11 |
if ($tagInfo->{'SubDirectory'}) { } |
|
|
10 |
1 |
elsif (not $tagInfo->{'Binary'}) { } |
|
1813
|
1 |
16 |
if (defined $newBase) |
|
1824
|
3 |
7 |
if ($format and $format eq "string") |
|
1828
|
3 |
0 |
if $charset |
|
1842
|
3 |
31 |
if $len & 1 |
|
1868
|
0 |
0 |
$a[2] ? : |
|
|
0 |
0 |
$a[4] ? : |
|
|
0 |
0 |
$a[6] ? : |
|
1871
|
0 |
0 |
unless ($ee) |
|
1906
|
0 |
0 |
$a[15] eq 'S' ? : |
|
1907
|
0 |
0 |
$a[14] eq 'W' ? : |
|
1911
|
0 |
0 |
unless ($ee) |
|
1932
|
0 |
0 |
unless ($et->Options("ExtractEmbedded")) |
|
1944
|
0 |
0 |
if $pos + $recLen{$rec} > $dataLen |
|
1948
|
0 |
0 |
if ($rec eq '0GPS') { } |
|
1951
|
0 |
0 |
if $endPos > $dataLen |
|
1956
|
0 |
0 |
if ($1 eq 'GC') { } |
|
1959
|
0 |
0 |
if ($buff =~ /\G(\d+),\d*,\d*,(\d+),([-\d.]+),(\d+),\d*,A/g) |
|
1965
|
0 |
0 |
if ($buff =~ /\GA,([\d.]+),([\d.]+),(\d+),([NS]),([EW])/g) |
|
1972
|
0 |
0 |
if $ns eq "S" |
|
1973
|
0 |
0 |
if $ew eq "W" |
|
1978
|
0 |
0 |
unless ($buff =~ /\$(GC|GA),$time,/g) |
|
1980
|
0 |
0 |
if (not $$dataPt =~ /\$(GC|GA),(\d+)/ or $1 ne $time) |
|
1982
|
0 |
0 |
if ($date) { } |
|
1988
|
0 |
0 |
if (defined $lat) |
|
1993
|
0 |
0 |
if (defined $alt) |
|
2010
|
0 |
0 |
if $_ >= 2147483648 |
|
2038
|
0 |
7 |
unless $raf->Read($buff, 12) == 12 |
|
2039
|
7 |
0 |
if ($buff =~ /^(RIFF|RF64)....(.{4})/s) { } |
|
2041
|
0 |
7 |
if $1 eq "RF64" |
|
2044
|
0 |
0 |
unless $buff =~ /^(LA0[234]|OFR |LPAC|wvpk)/ and $raf->Read($buf2, 1024) |
|
2047
|
0 |
0 |
unless $buff =~ /WAVE(.{4})?(junk|fmt )/gs and $raf->Seek(pos($buff) - 4, 0) |
|
2050
|
0 |
7 |
if $et->Options("FastScan") |
|
2051
|
7 |
0 |
if $type |
|
2053
|
0 |
0 |
if $rf64 and $et->{'VALUE'}{'FileType'} |
|
2065
|
0 |
39 |
if ($err) |
|
2066
|
0 |
0 |
unless $moviEnd |
|
2069
|
0 |
0 |
if ($moviEnd > 2147483647) |
|
2070
|
0 |
0 |
unless ($et->Options("LargeFileSupport")) |
|
2076
|
0 |
0 |
if ($et->Options("LargeFileSupport") eq 2) |
|
2080
|
0 |
0 |
if ($validate) { } |
|
2082
|
0 |
0 |
unless $raf->Seek($moviEnd - 1, 0) and $raf->Read($buff, 1) == 1 |
|
2084
|
0 |
0 |
unless $raf->Seek($moviEnd, 0) |
|
2091
|
0 |
39 |
if ($moviEnd) |
|
2092
|
0 |
0 |
if $pos > $moviEnd |
|
2093
|
0 |
0 |
if $pos == $moviEnd |
|
2096
|
7 |
32 |
if ($num < 8) |
|
2097
|
0 |
7 |
if $moviEnd |
|
2098
|
0 |
7 |
if $num |
|
2099
|
0 |
7 |
if $validate and $pos != $riffEnd |
|
2105
|
4 |
28 |
if $tag eq "VP8X" and $type eq "WEBP" |
|
2107
|
10 |
22 |
if ($tag eq 'LIST') { } |
|
|
1 |
21 |
elsif ($tag eq 'data') { } |
|
2108
|
0 |
10 |
unless $raf->Read($buff, 4) == 4 |
|
2113
|
0 |
0 |
if $len == 4294967295 and $et->{'DataSize64'} |
|
2117
|
3 |
29 |
if ($len <= 0) |
|
2118
|
0 |
3 |
if $moviEnd |
|
2119
|
0 |
3 |
if ($len < 0) { } |
|
|
0 |
3 |
elsif ($tag eq "\000\000\000\000") { } |
|
2132
|
0 |
0 |
if ($et->Options("FastScan") and $tag eq 'data' || $tag eq 'idx1' || $tag eq 'LIST_movi' && !$ee) |
|
2141
|
0 |
29 |
if ($ee and $tag =~ /^(\d{2})tx$/) |
|
2143
|
0 |
0 |
unless defined $tagTbl->{$tag} |
|
2148
|
29 |
0 |
if ($tagInfo or $verbose || $unknown and not $tag =~ /^(data|idx1|LIST_movi|RIFF|\d{2}(db|dc|wb))$/) { } |
|
|
0 |
0 |
elsif ($tag eq 'RIFF') { } |
|
2149
|
0 |
29 |
unless $raf->Read($buff, $len2) >= $len |
|
2150
|
0 |
29 |
unless length $buff == $len2 |
|
2151
|
0 |
0 |
if ($hash and $isImageData{$tag}) |
|
2156
|
0 |
25 |
if ($tagInfo and ref $tagInfo eq "HASH" and $tagInfo->{'SetGroups'}) |
|
2159
|
0 |
0 |
if not $tagInfo and $verbose || $unknown |
|
2167
|
0 |
29 |
if ($setGroups) |
|
2171
|
0 |
29 |
if $ee |
|
2173
|
0 |
0 |
if $validate and $pos - 8 != $riffEnd |
|
2176
|
0 |
0 |
unless $raf->Read($buff, 4) == 4 |
|
2184
|
0 |
0 |
if ($hash and $isImageData{$tag}) |
|
2188
|
0 |
0 |
if ($tag eq 'LIST_movi' and $ee) { } |
|
|
0 |
0 |
elsif (not $rewind) { } |
|
2189
|
0 |
0 |
if $rewind |
|
2194
|
0 |
0 |
if ($len > 2147483647) |
|
2195
|
0 |
0 |
unless ($et->Options("LargeFileSupport")) |
|
2200
|
0 |
0 |
if ($et->Options("LargeFileSupport") eq 2) |
|
2204
|
0 |
0 |
if ($validate and $len2) { } |
|
2206
|
0 |
0 |
unless $raf->Seek($len2 - 1, 1) and $raf->Read($buff, 1) == 1 |
|
2208
|
0 |
0 |
unless $raf->Seek($len2, 1) |
|
2215
|
0 |
7 |
if $err |