line |
true |
false |
branch |
30
|
0 |
60 |
unless $h |
35
|
0 |
120 |
unless $status0 == Compress::Zlib::Z_OK() |
37
|
0 |
120 |
unless $status1 == Compress::Zlib::Z_OK() |
39
|
0 |
120 |
unless $status2 == Compress::Zlib::Z_OK() |
45
|
0 |
60 |
unless read($h, my $magic, 8) == 8 |
47
|
0 |
60 |
unless $magic eq $PNG_MAGIC |
53
|
0 |
436 |
unless read($h, my $raw, 8) == 8 |
55
|
0 |
436 |
unless read($h, my $data, $length) == $length |
56
|
0 |
436 |
unless read($h, my $crc_raw, 4) == 4 |
68
|
0 |
60 |
unless $ihdr |
71
|
0 |
60 |
unless @ihdr_values == 7 |
81
|
0 |
60 |
unless $$self{'_width'} |
82
|
0 |
60 |
unless $$self{'_height'} |
86
|
0 |
60 |
unless $$self{'_comp'} == 0 |
87
|
0 |
60 |
unless $$self{'_filter'} == 0 |
89
|
0 |
60 |
if $$self{'_interlace'} |
94
|
0 |
60 |
unless defined $$self{'_channels'} |
102
|
0 |
60 |
unless 1 == grep({$$_{'type'} eq 'IEND';} @{$$self{'_chunks'};}) |
105
|
0 |
60 |
unless $status0 == Compress::Zlib::Z_OK() |
107
|
0 |
60 |
unless $status1 == Compress::Zlib::Z_STREAM_END() |
119
|
0 |
60 |
unless $expected_bytes == $actual_bytes |
134
|
0 |
120 |
unless @filters == $self->height |
158
|
0 |
0 |
$$_{'type'} eq 'IEND' ? : |