Branch Coverage

blib/lib/Net/WebSocket/PMCE/deflate.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
106 0 4 if @errs
221 0 0 if (%opts)
258 0 7 if (exists $params{$k})
259 0 0 if (defined $v) { }
269 7 0 if (my $cr = $class->can("_validate_$k")) { }
276 0 0 if (defined $v) { }
303 0 0 if (defined $value)
315 3 0 if (defined $bits)
316 3 0 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'})