Branch Coverage

blib/lib/POE/Filter/Zlib/Stream.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
14 0 7 if @_ % 2
18 6 1 unless ref $buffer->{'deflateopts'} eq 'HASH'
20 0 7 unless ($buffer->{'d'})
24 7 0 unless ref $buffer->{'inflateopts'} eq 'HASH'
26 0 7 unless ($buffer->{'i'})
30 3 4 unless (defined $buffer->{'flushtype'})
46 12 20 unless length $self->{'BUFFER'}
50 0 20 unless ($status == Z_OK() or $status == Z_STREAM_END())
54 17 3 if ($status == Z_STREAM_END())
62 0 0 $self->{'BUFFER'} ? :
72 0 22 unless ($dstat == Z_OK())
78 0 22 unless ($fstat == Z_OK())
82 17 5 if ($self->{'flushtype'} == Z_FINISH())