blib/lib/Plack/Handler/Gazelle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 30 | 63.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
100 | 0 | 0 | 204 | $^O eq 'linux' and $self->{'_listen_sock_is_tcp'} |
260 | 6 | 10 | 130 | defined $body and ref $body eq 'ARRAY' |
line | l | !l | condition |
---|---|---|---|
80 | 2 | 202 | $args{'server_ready'} || sub { } |
188 | 16 | $args{'host'} || 0 | |
204 | 0 | $args{'port'} || 8080 | |
0 | 204 | $args{'timeout'} || 300 | |
2 | 202 | $args{'child_exit'} || sub { } | |
0 | 204 | $args{'max_reqs_per_child'} || $args{'max_requests'} || 1000 | |
0 | 204 | $args{'spawn_interval'} || 0 | |
155 | 578 | 41 | $self->{'host'} || 0 |
619 | 0 | $self->{'port'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
80 | 0 | 204 | 0 | $args{'server_software'} || $class |
92 | 0 | 204 | 0 | $self->{'listen_sock'} ||= 'IO::Socket::INET'->new('Listen', 128, 'LocalPort', $self->{'port'}, 'LocalAddr', $self->{'host'}, 'Proto', 'tcp', 'ReuseAddr', 1) |