| lib/PSGI/Hector.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 12 | 33.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 361 | 1 | 0 | 0 | defined $env->{'PATH_INFO'} and $env->{'PATH_INFO'} =~ m[/(.+)$] |
| 380 | 0 | 5 | 0 | $host and $env->{'HTTP_REFERER'} |
| 0 | 0 | 5 | $host and $env->{'HTTP_REFERER'} and $env->{'HTTP_REFERER'} =~ m[^(http|https)://$host] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 369 | 5 | 0 | 0 | not defined $self->getOption('checkReferer') or $self->getOption('checkReferer') |