| line |
true |
false |
branch |
|
12
|
2 |
0 |
if ("$]" >= 5.008) { }
|
|
25
|
105 |
105 |
if $dlen == $len
|
|
27
|
0 |
105 |
if (not defined $n) { }
|
|
|
0 |
105 |
elsif ($n == 0) { }
|
|
39
|
0 |
3 |
unless defined $d and $d =~ /\x00\z/
|
|
51
|
24 |
18 |
if ($type =~ /$box_types_to_keep/ and not exists $boxes{$type})
|
|
55
|
0 |
42 |
if ($len == 1)
|
|
59
|
0 |
0 |
unless $len >> 32 == $lenhi
|
|
61
|
0 |
42 |
unless $len >= $pos
|
|
64
|
42 |
0 |
$len < 65536 ? :
|
|
66
|
24 |
18 |
if defined $bufp
|
|
79
|
0 |
3 |
if (not eval {
|
|
82
|
0 |
3 |
unless defined $ftyp
|
|
83
|
0 |
3 |
unless length $ftyp >= 8 and not length $ftyp & 3
|
|
85
|
0 |
3 |
unless substr($ftyp, 0, 4) eq "avif"
|
|
92
|
0 |
3 |
unless defined $meta
|
|
94
|
0 |
3 |
unless &read_block($metafh, 1) eq "\0"
|
|
101
|
0 |
3 |
unless defined $hdlr
|
|
103
|
0 |
3 |
unless &read_block($hdlrfh, 1) eq "\0"
|
|
106
|
0 |
3 |
unless unpack("N", &read_block($hdlrfh, 4)) == 0
|
|
108
|
0 |
3 |
unless &read_block($hdlrfh, 4) eq "pict"
|
|
116
|
0 |
3 |
unless defined $iprp
|
|
123
|
0 |
3 |
unless defined $ipco
|
|
129
|
0 |
3 |
if (defined(my $irot = $cboxes->{'irot'}))
|
|
130
|
0 |
0 |
unless length $irot >= 1
|
|
132
|
0 |
0 |
if $angle & -4
|
|
133
|
0 |
0 |
if $angle & 1
|
|
135
|
0 |
3 |
if (defined(my $clap = $cboxes->{'clap'})) { }
|
|
|
3 |
0 |
elsif (defined(my $ispe = $cboxes->{'ispe'})) { }
|
|
136
|
0 |
0 |
unless length $clap >= 32
|
|
139
|
0 |
0 |
unless $width_den != 0 and $height_den != 0
|
|
143
|
0 |
0 |
if $rot
|
|
147
|
0 |
3 |
unless length $ispe >= 12
|
|
149
|
0 |
3 |
unless $ver == 0
|
|
150
|
0 |
3 |
if $rot
|
|
154
|
3 |
0 |
if (defined(my $pixi = $cboxes->{'pixi'}))
|
|
155
|
0 |
3 |
unless length $pixi >= 5
|
|
157
|
0 |
3 |
unless $ver == 0
|
|
158
|
0 |
3 |
unless length $pixi >= 5 + $planes
|
|
163
|
3 |
0 |
if (defined(my $colr = $cboxes->{'colr'}))
|
|
164
|
0 |
3 |
unless length $colr >= 4
|
|
166
|
3 |
0 |
if ($type eq "nclx")
|
|
167
|
0 |
3 |
unless length $colr >= 11
|
|
169
|
3 |
0 |
if (defined(my $ctype = $primaries_type[$prim]))
|
|
174
|
0 |
3 |
if (defined(my $pasp = $cboxes->{'pasp'}))
|
|
175
|
0 |
0 |
unless length $pasp >= 8
|
|
182
|
0 |
0 |
if (ref $err eq 'Image::Info::AVIF::__ERROR__') { }
|