Branch Coverage

blib/lib/Filter/gunzip/Filter.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
57 0 3 unless $inf
68 2 14 unless ($self->{'inflator'})
71 0 2 if ($self->{'input_eof'}) { }
86 2 12 unless ($self->{'input_eof'} or length $self->{'input'})
89 0 2 if ($status < 0)
92 0 2 if ($status == 0) { }
109 2 12 if ($zerr == Z_STREAM_END())
119 12 0 if ($zerr == Z_OK() or $zerr == Z_BUF_ERROR())
120 0 12 if (length $_ == 0)
121 0 0 if ($input_len_before == length $self->{'input'})
127 0 0 if ($self->{'input_eof'})