Branch Coverage

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


line true false branch
63 0 2 unless $inf
74 1 13 unless ($self->{'inflator'})
77 0 1 if ($self->{'input_eof'}) { }
92 1 12 unless ($self->{'input_eof'} or length $self->{'input'})
95 0 1 if ($status < 0)
98 0 1 if ($status == 0) { }
115 1 12 if ($zerr == Z_STREAM_END())
125 12 0 if ($zerr == Z_OK() or $zerr == Z_BUF_ERROR())
126 0 12 if (length $_ == 0)
127 0 0 if ($input_len_before == length $self->{'input'})
133 0 0 if ($self->{'input_eof'})