Condition Coverage

blib/lib/Plack/Handler/Gazelle.pm
Criterion Covered Total %
condition 17 32 53.1


and 3 conditions

line !l l&&!r l&&r condition
100 0 0 69 $^O eq "linux" and $self->{'_listen_sock_is_tcp'}
263 0 0 38 defined $body and ref $body eq "ARRAY"

or 2 conditions

line l !l condition
80 56 13 $args{'host'} || 0
69 0 $args{'port'} || 8080
0 69 $args{'timeout'} || 300
0 69 $args{'max_reqs_per_child'} || $args{'max_requests'} || 1000
0 69 $args{'spawn_interval'} || 0
155 63 13465 $self->{'host'} || 0
13528 0 $self->{'port'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
80 0 69 0 $args{'server_software'} || $class
2 67 0 $args{'server_ready'} || sub { }
2 67 0 $args{'child_exit'} || sub { }
92 0 69 0 $self->{'listen_sock'} ||= "IO::Socket::INET"->new("Listen", 4096, "LocalPort", $self->{'port'}, "LocalAddr", $self->{'host'}, "Proto", "tcp", "ReuseAddr", 1)