Branch Coverage

blib/lib/Net/WebSocket/PMCE/deflate.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
106 8 17 if @errs
173 0 0 unless $class->can('new')
221 0 11 if (%opts)
258 0 23 if (exists $params{$k})
259 0 0 if (defined $v) { }
269 23 0 if (my $cr = $class->can("_validate_$k")) { }
276 0 0 if (defined $v) { }
303 0 5 if (defined $value)
315 23 0 if (defined $bits)
316 15 8 if grep {$_ eq $bits;} @VALID_MAX_WINDOW_BITS
327 1 3 if (defined $self->{'deflate_max_window_bits'})
331 2 2 if (defined $self->{'inflate_max_window_bits'})
335 1 3 if ($self->{'deflate_no_context_takeover'})
338 3 1 if ($self->{'inflate_no_context_takeover'})