| blib/lib/Test/HTTP/Response.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 26 | 69.2 |
| line | true | false | branch |
|---|---|---|---|
| 105 | 1 | 1 | ref $code eq 'Regexp' ? : |
| 107 | 0 | 2 | unless ($ok) |
| 153 | 0 | 1 | ref $value eq 'Regexp' ? : |
| 157 | 0 | 1 | unless ($ok) |
| 187 | 5 | 8 | if (ref $exp eq 'CODE') { } |
| 4 | 4 | elsif (ref $exp eq 'Regexp') { } | |
| 223 | 1 | 8 | unless ($ok = exists $$expected{$header}) |
| 251 | 4 | 0 | if ($$cookies{$$attr_ref{'key'}}) |
| 256 | 0 | 6 | ref $$attr_ref{$field} eq 'Regexp' ? : |
| 259 | 0 | 6 | unless ($this_match) |
| 269 | 0 | 4 | unless ($ok) |
| 300 | 2 | 3 | if (ref $response and not defined $$cookies{"$response"}) |
| 301 | 2 | 0 | unless ($response->request) |