Branch Coverage

blib/lib/Terse/WebSocket.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
21 0 0 $@ ? :
28 0 0 if ($ping_rate < 0)
32 0 0 if (not $response or $response ne "pong")
38 0 0 if ($response)
39 0 0 if ($response =~ /^invalid_(length|version|host|required_key)$/) { }
49 0 0 if $@
50 0 0 if $cbs->{'disconnect'}
51 0 0 if $cbs->{'close_delete'}
67 0 0 unless (scalar @ENCODED)
68 0 0 if scalar @{$self->next_frame ||= [];}
72 0 0 unless $length
80 0 0 if ($ENCODED[0] == 254) { }
87 0 0 if scalar @ENCODED == $length
89 0 0 if (scalar @ENCODED > $length)
91 0 0 if $next eq "invalid_length"
94 0 0 if scalar @ENCODED != $length