| blib/lib/HTTP/Message/PSGI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 16 | 75.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 85 | 2 | 8 | 336 | not defined $env->{'HTTP_HOST'} and $req->uri->can('host') |
| line | l | !l | condition |
|---|---|---|---|
| 46 | 345 | 1 | $uri->path || '/' |
| 24 | 322 | $uri->query || '' | |
| 0 | 346 | $req->protocol || 'HTTP/1.1' | |
| 345 | 1 | $uri->path_query || '/' | |
| 193 | 0 | 0 | $_[2] || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 29 | 344 | 0 | 2 | not $host or $host eq $uri->host_port |