| line |
true |
false |
branch |
|
27
|
0 |
1 |
if @$data == 0 |
|
29
|
0 |
1 |
unless my $deflate = 'Compress::Raw::Zlib::Deflate'->new(-'AppendOutput', 1) |
|
36
|
1 |
0 |
unless (defined $width) |
|
38
|
0 |
1 |
if $width == 0 |
|
40
|
0 |
1 |
if $width != length $lineCp |
|
45
|
0 |
1 |
unless $deflate->deflate(pack('xB*', $lineCp), $out) == Z_OK() |
|
47
|
0 |
1 |
unless $deflate->flush($out, Z_FINISH()) == Z_OK() |
|
57
|
0 |
1 |
if @$data == 0 |
|
58
|
0 |
1 |
if $width <= 0 |
|
62
|
0 |
1 |
unless my $deflate = 'Compress::Raw::Zlib::Deflate'->new(-'AppendOutput', 1) |
|
68
|
0 |
1 |
unless $width_bytes == length $data->[$i] |
|
71
|
0 |
1 |
unless $deflate->deflate($cBuf, $out) == Z_OK() |
|
74
|
0 |
1 |
unless $deflate->flush($out, Z_FINISH()) == Z_OK() |
|
83
|
0 |
1 |
if $height <= 0 |
|
84
|
0 |
1 |
if $width <= 0 |
|
87
|
0 |
1 |
unless $width_bytes * $height == length $$data |
|
89
|
0 |
1 |
unless my $deflate = 'Compress::Raw::Zlib::Deflate'->new(-'AppendOutput', 1) |
|
96
|
0 |
1 |
unless $deflate->deflate($cBuf, $out) == Z_OK() |
|
99
|
0 |
1 |
unless $deflate->flush($out, Z_FINISH()) == Z_OK() |
|
108
|
0 |
1 |
if $height <= 0 |
|
109
|
0 |
1 |
if $width <= 0 |
|
112
|
0 |
1 |
unless $width_bytes * $height == length $$data |
|
114
|
0 |
1 |
unless my $deflate = 'Compress::Raw::Zlib::Deflate'->new(-'AppendOutput', 1) |
|
117
|
1 |
0 |
if (length $$data) |
|
118
|
0 |
1 |
unless $deflate->deflate($$data, $out) == Z_OK() |
|
120
|
0 |
1 |
unless $deflate->flush($out, Z_FINISH()) == Z_OK() |