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 53 $ENV{'MOJO_SERVER_DEBUG'} || 0
26 59 71 $self->{'connections'} // {}
107 935 1 $c->{'requests'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
107 1 1 934 ($c->{'requests'} || 1) >= $self->max_requests or $req->error
153 1 26 901 $tx->error or not $tx->keep_alive
170 134 1 1 $proto eq "http" or $proto eq "https"
135 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 190 935 0 $c->{'tx'} ||= $self->_build_tx($id, $c)
240 3 39 2274 not my $tx = $c->{'tx'} or $c->{'writing'}