line |
true |
false |
branch |
9
|
0 |
0 |
unless +(shift())->{'config'} |
11
|
33 |
41 |
unless +(shift())->{'pid'} |
12
|
0 |
1782 |
unless +(shift())->{'url'} |
21
|
0 |
33 |
if $self->pid and kill 0, $self->pid |
39
|
266 |
31 |
if length $value |
45
|
18 |
15 |
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 |
25 |
ref $_[0] ? : |
84
|
0 |
1782 |
if eval {
do {
'Mojo::Redis2'->new('url', $self->url)->ping
}
} |
88
|
18 |
0 |
if ($self->pid and waitpid $self->pid, 0) |
96
|
5 |
0 |
if ($_[0]{'parent_pid'} // 0) == $$ |