Branch Coverage

blib/lib/Net/WebSocket/Frame.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
99 6 59 unless (defined $fin)
107 53 12 if (defined $mask) { }
110 53 0 if (length $mask)
120 30 35 if $fin
122 5 60 if ($rsv)
123 0 5 if $rsv > 7
137 0 0 if (length ${$self->[2];})
165 58 37 if (my $mask = $self->get_mask_bytes)
233 0 0 $self->_extract_opcode & 8 ? :
293 148 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)