| blib/lib/Protocol/WebSocket/Cookie.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 8 | 0 | 58 | if ref $class |
| 16 | 20 | 55 | @_ > 1 ? : |
| 29 | 2 | 24 | unless defined $string and $string ne '' |
| 33 | 51 | 1 | if (defined $value) |
| 54 | 89 | 2 | if (defined $pair->[1]) |
| 56 | 1 | 88 | !($pair->[1] =~ /^$VALUE$/) ? : |