Branch Coverage

blib/lib/Net/WebSocket/Frame.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
95 0 59 unless (defined $fin)
101 53 6 if (defined $mask) { }
104 53 0 if (length $mask)
113 24 35 if $fin
115 0 59 if ($rsv)
116 0 0 if $rsv > 7
122 53 6 if $mask
146 58 22 if (my $mask = $self->get_mask_bytes)
184 0 0 $self->_extract_opcode & 8 ? :
244 142 0 if substr($AUTOLOAD, -8) eq ':DESTROY'
250 0 0 if (ref $self eq 'Net::WebSocket::Frame')
255 0 0 unless ($class->can('new'))
261 0 0 if ($self->can($method))
282 53 0 if (length $bytes)
283 0 53 if (4 != length $bytes)