| blib/lib/Arriba/Server.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 53 | 35.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 205 | 2 | 1 | 0 | $ssl and $client->next_proto_negotiated |
| 3 | 0 | 0 | $ssl and $client->next_proto_negotiated and $client->next_proto_negotiated eq 'spdy/3' | |
| 263 | 0 | 74 | 0 | $proto and $proto eq 'HTTP/1.0' |
| 0 | 0 | 74 | $proto and $proto eq 'HTTP/1.1' | |
| 264 | 0 | 0 | 0 | $conn_header and $conn_header =~ /^keep-alive$/i |
| 273 | 74 | 0 | 0 | $conn_header and $conn_header =~ /^close$/i |
| line | l | !l | condition |
|---|---|---|---|
| 75 | 0 | 16 | $$options{'workers'} || 5 |
| 79 | 0 | 16 | $$options{'max_requests'} || 1000 |
| 0 | 16 | $$options{'backlog'} || 1024 | |
| 232 | 74 | 0 | $$self{'server'}{'peerport'} || 0 |
| 74 | 0 | $$self{'server'}{'sockaddr'} || 0 | |
| 74 | 0 | $$self{'server'}{'sockport'} || 0 | |
| 334 | 0 | 0 | $code || 500 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 79 | 0 | 16 | 0 | $$options{'min_servers'} || $workers |
| 0 | 16 | 0 | $$options{'min_spare_servers'} || $workers - 1 | |
| 0 | 16 | 0 | $$options{'max_spare_servers'} || $workers - 1 | |
| 0 | 16 | 0 | $$options{'max_servers'} || $workers | |
| 0 | 0 | 16 | $$options{'user'} || $> | |
| 0 | 0 | 16 | $$options{'group'} || $) | |
| 232 | 0 | 74 | 0 | $$self{'server'}{'peerhost'} || $$self{'server'}{'peeraddr'} |