| blib/lib/Protocol/WebSocket/Cookie/Request.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 24 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 0 | 5 | if ($self->pairs->[0] eq '$Version') |
| 23 | 0 | 16 | unless defined $pair->[0] |
| 25 | 6 | 10 | if ($pair->[0] =~ /^[^\$]/) { } |
| 3 | 7 | elsif ($pair->[0] eq '$Path') { } | |
| 3 | 4 | elsif ($pair->[0] eq '$Domain') { } | |
| 26 | 1 | 5 | if defined $cookie |
| 42 | 5 | 0 | if defined $cookie |
| 47 | 0 | 6 | @_ > 1 ? : |
| 48 | 0 | 6 | @_ > 1 ? : |
| 49 | 0 | 3 | @_ > 1 ? : |
| 50 | 3 | 4 | @_ > 1 ? : |
| 51 | 3 | 4 | @_ > 1 ? : |