Branch Coverage

blib/lib/Protocol/WebSocket/Handshake/Server.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
26 0 51 if $req->is_done
28 1 50 unless ($req->parse($_[0]))
33 8 42 if ($req->is_body or $req->is_done)
42 4 46 if ($req->version eq 'draft-ietf-hybi-00') { }
4 42 elsif ($self->is_done and $req->version eq 'draft-ietf-hybi-10' or $req->version eq 'draft-ietf-hybi-17') { }
43 3 1 if ($self->is_done) { }
67 1 7 if ($self->is_body) { }
1 6 elsif ($self->{'partial'}) { }