Condition Coverage

blib/lib/Mojo/Server/Daemon.pm
Criterion Covered Total %
condition 22 36 61.1


and 3 conditions

line !l l&&!r l&&r condition
182 2 0 0 /^(.*)_(cert|key)$/u and $$options{"tls_$2"}{$1} = $query->param($_)
201 0 0 0 $self and $self->app->log->error(pop())

or 2 conditions

line l !l condition
12 0 54 $ENV{'MOJO_SERVER_DEBUG'} || 0
26 60 72 $self->{'connections'} // {}
107 947 1 $c->{'requests'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
107 1 1 946 ($c->{'requests'} || 1) >= $self->max_requests or $req->error
153 1 26 913 $tx->error or not $tx->keep_alive
170 136 1 1 $proto eq "http" or $proto eq "https"
137 0 1 $proto eq "http" or $proto eq "https" or $proto eq "http+unix"
211 0 0 0 $options->{'path'} or $url->port
212 0 0 0 $options->{'path'} // $url
222 191 947 0 $c->{'tx'} ||= $self->_build_tx($id, $c)
240 3 39 2298 not my $tx = $c->{'tx'} or $c->{'writing'}