| line |
!l |
l&&!r |
l&&r |
condition |
|
96
|
13 |
0 |
0 |
$use_reuseport and defined 15 |
|
110
|
0 |
0 |
0 |
$maybe_port <= 65535 and length $maybe_port == 5 || $maybe_port >= 1024 |
|
275
|
0 |
13 |
0 |
defined $self->{'listen'} and not ref $self->{'listen'} |
|
337
|
0 |
0 |
0 |
$self->{'reuseport'} && $self->{'pre_fork'} && defined 15 |
|
344
|
11 |
0 |
2 |
$self->{'epoll_exclusive'} and $self->{'pre_fork'} |
|
|
0 |
0 |
2 |
$self->{'epoll_exclusive'} and $self->{'pre_fork'} and $^O eq "linux" |
|
351
|
12 |
0 |
1 |
defined $self->{'accept_priority'} and $f->can("accept_priority") |
|
375
|
0 |
0 |
0 |
$val =~ /^\d+$/ and $val > 0 |
|
390
|
2 |
0 |
0 |
-f $tls->{'cert_file'} and -r _ |
|
392
|
0 |
0 |
0 |
-f $tls->{'key_file'} and -r _ |
|
453
|
0 |
3 |
0 |
$self->{'pre_fork'} and defined $self->{'preload_app'} |
|
|
3 |
0 |
0 |
$self->{'pre_fork'} and defined $self->{'preload_app'} and not $self->{'preload_app'} |
|
456
|
0 |
0 |
0 |
not $a and $self->{'app_file'} |
|
473
|
0 |
0 |
3 |
not $app and $self->{'app_file'} |
|
477
|
3 |
0 |
0 |
$! and not defined $app |
|
516
|
0 |
0 |
0 |
$self->{'reuseport'} && $self->{'pre_fork'} && defined 15 |
|
554
|
0 |
0 |
0 |
$self->{'epoll_exclusive'} and $self->{'pre_fork'} |
|
|
0 |
0 |
0 |
$self->{'epoll_exclusive'} and $self->{'pre_fork'} and $^O eq "linux" |
|
|
0 |
0 |
0 |
$self->{'epoll_exclusive'} and $self->{'pre_fork'} and $^O eq "linux" and $f->can("set_epoll_exclusive") |
|
560
|
0 |
0 |
0 |
defined $self->{'accept_priority'} and $f->can("accept_priority") |
|
603
|
0 |
0 |
0 |
$self->{'reuseport'} && $self->{'pre_fork'} && defined 15 |
|
686
|
0 |
0 |
0 |
$pending_pid and $kid == $pending_pid |
|
687
|
0 |
0 |
0 |
$current_pid and $kid == $current_pid |
|
730
|
0 |
0 |
0 |
$shutdown_ref and $$shutdown_ref |
|
743
|
0 |
0 |
0 |
$self->{'epoll_exclusive'} && $self->{'pre_fork'} |
|
|
0 |
0 |
0 |
defined $self->{'epoll_exclusive'} and $f->can("set_epoll_exclusive") |
|
933
|
0 |
0 |
0 |
@rg == 1 and $rg[0] == $gid |
|
941
|
0 |
0 |
0 |
$< == $uid and $> == $uid |
| line |
l |
!l |
condition |
|
33
|
0 |
10 |
$ENV{'FEERSUM_MAX_PRE_FORK'} || 1000 |
|
72
|
0 |
13 |
$self->{'backlog'} || 4096 |
|
101
|
0 |
0 |
$2 || 0 |
|
119
|
0 |
0 |
$host ||= "0.0.0.0" |
|
120
|
0 |
0 |
$port ||= 0 |
|
279
|
0 |
0 |
$self->{'host'} || 'localhost' |
|
|
0 |
0 |
$self->{'port'} || 5000 |
|
|
13 |
0 |
$self->{'listen'} ||= [($self->{'host'} || 'localhost') . ':' . ($self->{'port'} || 5000)] |
|
515
|
0 |
0 |
$self->{'_listen_addrs'} ||= [@{$self->{'listen'};}] |
|
531
|
0 |
0 |
$self->{'startup_timeout'} // 10 |
|
577
|
0 |
0 |
$@ || $! || 'not a coderef' |
|
593
|
0 |
0 |
($self->{'graceful_timeout'} // $ENV{'FEERSUM_GRACEFUL_TIMEOUT'}) // 5 |
|
718
|
0 |
0 |
$timeout //= 10 |
|
954
|
0 |
3 |
($self->{'graceful_timeout'} // $ENV{'FEERSUM_GRACEFUL_TIMEOUT'}) // 5 |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
110
|
0 |
0 |
0 |
length $maybe_port == 5 || $maybe_port >= 1024 |
|
125
|
0 |
0 |
0 |
not $port =~ /^\d+$/ or $port > 65535 |
|
328
|
0 |
0 |
3 |
not $n =~ /^\d+$/ or $n < 1 |
|
354
|
0 |
1 |
0 |
$val < -2 or $val > 2 |
|
372
|
1 |
1 |
2 |
$val < -2 or $val > 2 |
|
433
|
0 |
0 |
3 |
shift() || $self->{'app'} |
|
455
|
0 |
0 |
0 |
$app || $self->{'app'} |
|
459
|
0 |
0 |
0 |
$@ || $! |
|
|
0 |
0 |
0 |
$@ or not $a |
|
472
|
0 |
0 |
3 |
$app ||= delete $self->{'app'} |
|
576
|
0 |
0 |
0 |
$@ or not $app |
|
|
0 |
0 |
0 |
$@ or not $app or ref $app ne "CODE" |
|
593
|
0 |
0 |
0 |
$self->{'graceful_timeout'} // $ENV{'FEERSUM_GRACEFUL_TIMEOUT'} |
|
643
|
0 |
0 |
0 |
$shutting_down or $pending_pid |
|
690
|
0 |
0 |
0 |
$shutting_down or $pending_pid |
|
730
|
0 |
0 |
0 |
$done or $shutdown_ref and $$shutdown_ref |
|
911
|
0 |
0 |
0 |
open STDERR, ">", "/dev/null" or croak("redirect stderr: $!") |
|
954
|
0 |
0 |
3 |
$self->{'graceful_timeout'} // $ENV{'FEERSUM_GRACEFUL_TIMEOUT'} |