Condition Coverage

blib/lib/Feersum/Runner.pm
Criterion Covered Total %
condition 15 62 24.1


and 3 conditions

line !l l&&!r l&&r condition
91 14 0 0 $use_reuseport and defined 15
105 0 0 0 $maybe_port <= 65535 and length $maybe_port == 5 || $maybe_port >= 1024
183 0 13 0 defined $self->{'listen'} and not ref $self->{'listen'}
218 0 0 0 $self->{'reuseport'} && $self->{'pre_fork'} && defined 15
225 11 0 2 $self->{'epoll_exclusive'} and $self->{'pre_fork'}
0 0 2 $self->{'epoll_exclusive'} and $self->{'pre_fork'} and $^O eq "linux"
261 0 0 0 $val =~ /^\d+$/ and $val > 0
296 2 0 0 -f $tls->{'cert_file'} and -r _
298 0 0 0 -f $tls->{'key_file'} and -r _
342 0 0 3 not $app and $self->{'app_file'}
346 3 0 0 $! and not defined $app

or 2 conditions

line l !l condition
32 0 9 $ENV{'FEERSUM_MAX_PRE_FORK'} || 1000
96 0 0 $2 || 0
114 0 0 $host ||= "0.0.0.0"
115 0 0 $port ||= 0
187 0 0 $self->{'host'} || 'localhost'
0 0 $self->{'port'} || 5000
13 0 $self->{'listen'} ||= [($self->{'host'} || 'localhost') . ':' . ($self->{'port'} || 5000)]

or 3 conditions

line l !l&&r !l&&!r condition
105 0 0 0 length $maybe_port == 5 || $maybe_port >= 1024
120 0 0 0 not $port =~ /^\d+$/ or $port > 65535
209 0 0 3 not $n =~ /^\d+$/ or $n < 1
253 1 2 2 $val < -2 or $val > 2
340 0 0 3 shift() || delete $self->{'app'}