lib/Haineko/Root.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 16 | 25.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
90 | 1 | 0 | 0 | defined $ENV{'HAINEKO_AUTH'} and -f -r -s $ENV{'HAINEKO_AUTH'} |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 2 | $httpd->req->header('X-Forwarded-For') || '' |
22 | 2 | 0 | (pop @$xforwarded || $httpd->req->address) // undef |
107 | 0 | 0 | $httpd->req->referer // undef |
0 | 0 | $httpd->req->env->{'REMOTE_ADDR'} // undef | |
0 | 0 | $httpd->req->user_agent // undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 0 | 2 | 0 | pop @$xforwarded || $httpd->req->address |