Branch Coverage

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


line true false branch
57 0 2 unless $inf
68 1 13 unless ($$self{'inflator'})
71 0 1 if ($$self{'input_eof'}) { }
86 1 12 unless ($$self{'input_eof'} or length $$self{'input'})
89 0 1 if ($status < 0)
92 0 1 if ($status == 0) { }
109 1 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'})