Branch Coverage

blib/lib/POE/Filter/Reference.pm
Criterion Covered Total %
branch 28 62 45.1


line true false branch
43 0 47 if ($@)
52 0 47 unless defined $POE::Filter::Reference::DEF_FREEZER
65 0 0 unless (defined $zlib_status)
67 0 0 if ($@) { }
88 0 61 unless $freeze and $thaw
111 137 0 if ($l == 1 or $l == 3 or not defined $_[0] or $l <= 3 and not $KNOWN_PARAMS{$_[0]}) { }
113 0 137 if ('HASH' eq ref $_[0]) { }
124 0 0 if @_ and @_ & 1
130 14 123 if (defined $freezer) { }
138 0 14 if (ref $freezer) { }
150 0 14 unless ($freeze and $thaw)
165 0 0 if $@
172 0 137 unless $freeze
173 0 137 unless $thaw
177 0 137 unless $freeze and $thaw
184 0 137 if ($compression)
186 0 0 if ($zlib_status ne "")
197 0 137 if scalar keys %params
221 33 33 unless @$next
236 0 52 if ($self->[5] < length $self->[0])
238 0 0 unless $self->[4]
246 47 0 if eval { do { require bytes } }
248 0 104 if ($self->[6])
254 55 49 if ($self->[0] =~ /^(\d+)\0/ and length $self->[0] >= $1 + length($1) + 1)
261 0 55 if $self->[3]
263 55 0 unless ($self->[4])
268 0 0 if $@
282 47 0 if eval { do { require bytes } }
285 0 101 unless ref $_
287 0 101 if $self->[3]
299 8 4 unless length $self->[0]