| line |
true |
false |
branch |
|
9
|
0 |
0 |
unless +(shift())->{'config'} |
|
11
|
35 |
43 |
unless +(shift())->{'pid'} |
|
12
|
0 |
1881 |
unless +(shift())->{'url'} |
|
21
|
0 |
35 |
if $self->pid and kill 0, $self->pid |
|
39
|
282 |
33 |
if length $value |
|
45
|
19 |
16 |
if ($self->{'pid'} = fork) |
|
49
|
0 |
0 |
if $self->configure_environment |
|
62
|
0 |
5 |
unless my $pid = $self->pid |
|
65
|
5 |
0 |
unless kill 15, $pid |
|
70
|
0 |
5 |
if kill 0, $pid |
|
74
|
13 |
27 |
ref $_[0] ? : |
|
84
|
0 |
1881 |
if eval {
do {
'Mojo::Redis2'->new('url', $self->url)->ping
}
} |
|
88
|
19 |
0 |
if ($self->pid and waitpid $self->pid, 0) |
|
96
|
5 |
0 |
if ($_[0]{'parent_pid'} // 0) == $$ |