Branch Coverage

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


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