| line |
true |
false |
branch |
|
43
|
0 |
90 |
unless defined $n
|
|
44
|
0 |
90 |
unless $n == $len
|
|
54
|
0 |
8 |
unless $signature eq "\211PNG\r\n\32\n"
|
|
65
|
37 |
8 |
if (@chunks) { }
|
|
68
|
2 |
35 |
if $last =~ s/\s(\d+)$//
|
|
69
|
2 |
35 |
if ($last eq $type) { }
|
|
81
|
8 |
37 |
if $type eq "IEND"
|
|
84
|
8 |
29 |
if ($type eq 'IHDR' and $len == 13) { }
|
|
|
3 |
26 |
elsif ($type eq 'PLTE') { }
|
|
|
0 |
26 |
elsif ($type eq 'gAMA' and $len == 4) { }
|
|
|
5 |
21 |
elsif ($type eq 'pHYs' and $len == 9) { }
|
|
|
7 |
14 |
elsif ($type eq 'tEXt' or $type eq 'zTXt' or $type eq 'iTXt') { }
|
|
|
4 |
10 |
elsif ($type eq 'tIME' and $len == 7) { }
|
|
|
0 |
10 |
elsif ($type eq 'sBIT') { }
|
|
|
8 |
2 |
elsif ($type eq 'IDAT') { }
|
|
95
|
8 |
0 |
if $compression == 0
|
|
96
|
8 |
0 |
if $filter == 0
|
|
97
|
1 |
7 |
if $interlace == 1
|
|
106
|
1 |
7 |
if $interlace
|
|
130
|
5 |
0 |
$res_x == $res_y ? :
|
|
131
|
5 |
0 |
if ($unit)
|
|
132
|
5 |
0 |
if ($unit == 1) { }
|
|
144
|
3 |
4 |
if ($type eq 'iTXt') { }
|
|
|
3 |
1 |
elsif ($type eq 'zTXt') { }
|
|
148
|
1 |
2 |
unless ($compressed)
|
|
157
|
5 |
2 |
if (defined $method)
|
|
158
|
5 |
0 |
if ($have_zlib and $method eq "\000") { }
|
|
165
|
3 |
4 |
if ($is_i)
|
|
166
|
3 |
0 |
if ($have_encode) { }
|
|
173
|
7 |
0 |
if (defined $val) { }
|
|
199
|
3 |
5 |
unless ($info->get_info(0, "resolution"))
|