Condition Coverage

lib/PSGI/Hector.pm
Criterion Covered Total %
condition 4 12 33.3


and 3 conditions

line !l l&&!r l&&r condition
361 1 0 0 defined $env->{'PATH_INFO'} and $env->{'PATH_INFO'} =~ m[/(.+)$]
380 0 0 8 $host and $env->{'HTTP_REFERER'}
0 0 8 $host and $env->{'HTTP_REFERER'} and $env->{'HTTP_REFERER'} =~ m[^(http|https)://$host]

or 3 conditions

line l !l&&r !l&&!r condition
369 8 0 0 not defined $self->getOption('checkReferer') or $self->getOption('checkReferer')