| blib/lib/HTTP/Session/State/Cookie.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 20 | 90.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 4 | 25 | unless ($required) |
| 27 | 0 | 20 | ref $_[0] ? : |
| 38 | 2 | 18 | unless $cookie_header |
| 42 | 11 | 7 | $cookie ? : |
| 47 | 2 | 9 | unless $session_id |
| 54 | 0 | 11 | unless $session_id |
| 63 | 4 | 7 | if $self->domain |
| 64 | 4 | 7 | if $self->expires |
| 65 | 2 | 9 | if $self->secure |
| 69 | 10 | 1 | if (&Scalar::Util::blessed($res)) { } |