Branch Coverage

blib/lib/Net/WebSocket/Frame.pm
Criterion Covered Total %
branch 12 30 40.0


line true false branch
99 0 59 unless (defined $fin)
107 53 6 if (defined $mask) { }
110 53 0 if (length $mask)
120 24 35 if $fin
122 0 59 if ($rsv)
123 0 0 if $rsv > 7
137 0 0 if (length ${$self->[2];})
165 58 22 if (my $mask = $self->get_mask_bytes)
233 0 0 $self->_extract_opcode & 8 ? :
293 142 0 if substr($AUTOLOAD, -8) eq ':DESTROY'
299 0 0 if (ref $self eq 'Net::WebSocket::Frame')
304 0 0 unless ($class->can('new'))
310 0 0 if ($self->can($method))
331 53 0 if (length $bytes)
332 0 53 if (4 != length $bytes)