| blib/lib/Protocol/WebSocket/Response.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 10 | 11 | 90.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 74 | 136 | 29 | 13 | not $self->origin and $self->secure |
| line | l | !l | condition |
|---|---|---|---|
| 57 | 218 | 26 | $self->version || 'draft-ietf-hybi-10' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 64 | 58 | 120 | 66 | $version eq 'draft-hixie-75' or $version eq 'draft-ietf-hybi-00' |
| 36 | 30 | 0 | $version eq 'draft-ietf-hybi-10' or $version eq 'draft-ietf-hybi-17' |