blib/lib/Test/HTTP/Server.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 30 | 16.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
285 | 1 | 0 | 0 | defined $func and length $func |
328 | 0 | 0 | 0 | !$type || $type eq 'body' and defined $$self{'body'} |
line | l | !l | condition |
---|---|---|---|
301 | 0 | 1 | $$self{'out_code'} || '200 OK' |
314 | 0 | 1 | join('', map("- $_\n", (sort {$a cmp $b;} grep({not 'Test::HTTP::Server::Connection'->can($_);} grep({'Test::HTTP::Server::Request'->can($_);} keys %Test::HTTP::Server::Request::))))) || "NONE\n" |
337 | 0 | 0 | shift() || 1 |
338 | 0 | 0 | shift() || 'test_cookie%n=true; expires=%date(+600); path=/' |
361 | 0 | 0 | shift() || 1024 |
362 | 0 | 0 | shift() || '=' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
19 | 0 | 4 | 0 | $ENV{'HTTP_PORT'} || $frompid |
149 | 0 | 1 | 0 | shift() || time |
325 | 0 | 0 | 0 | not $type or $type eq 'head' |
328 | 0 | 0 | 0 | !$type || $type eq 'body' |