Condition Coverage

blib/lib/Plack/Handler/Gazelle.pm
Criterion Covered Total %
condition 19 30 63.3


and 3 conditions

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'

or 2 conditions

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 416 42 $self->{'host'} || 0
458 0 $self->{'port'} || 0

or 3 conditions

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)