line |
true |
false |
branch |
19
|
4 |
12 |
if defined $self->{'pid'} and $self->{'pid'} == $$ |
25
|
2 |
3 |
if $self->{'stream'} |
30
|
3 |
22 |
$_[0]{'stream'} && !$_[0]{'gone_away'} ? : |
35
|
0 |
1 |
$self->is_connected ? : |
43
|
1 |
7 |
$self->is_connected ? : |
49
|
0 |
11 |
if $self->{'id'} |
52
|
2 |
9 |
if $self->{'gone_away'} |
55
|
1 |
8 |
if not $self->{'master_url'} and $url->query->param("sentinel") |
63
|
0 |
6 |
unless $self |
66
|
1 |
5 |
if $err |
73
|
2 |
3 |
if length $url->path->[0] |
74
|
2 |
3 |
if length $url->password |
90
|
1 |
9 |
if (file_name_is_absolute($args{'address'})) { } |
114
|
0 |
2 |
unless $self |
115
|
0 |
2 |
if $err |
118
|
0 |
1 |
unless $self->{'master_url'} |
126
|
2 |
0 |
if length $url->password |
134
|
1 |
1 |
unless ref $host_port and @$host_port == 2 |
154
|
34 |
0 |
$encoding ? : |
158
|
0 |
0 |
unless $_[0]{'id'} |
160
|
0 |
0 |
(shift())->ioloop eq 'Mojo::IOLoop'->singleton ? : |
167
|
0 |
5 |
unless $self |
172
|
4 |
1 |
if @_ == 1 |
173
|
0 |
0 |
$err ? : |
|
0 |
5 |
if $self and undef |
182
|
0 |
4 |
unless $self |
196
|
4 |
4 |
unless $self->{'write_lock'} |
202
|
0 |
12 |
if ($m->{'type'} eq '-') { } |
|
0 |
12 |
elsif ($m->{'type'} eq ':') { } |
|
2 |
10 |
elsif ($m->{'type'} eq '*' and ref $m->{'data'} eq 'ARRAY') { } |
|
9 |
1 |
elsif ($m->{'type'} eq '$' and $encoding and defined $m->{'data'}) { } |
210
|
0 |
2 |
if defined $err |
227
|
0 |
8 |
unless $self->{'waiting'} |
228
|
0 |
0 |
$p ? : |
|
0 |
8 |
unless $res |
229
|
4 |
4 |
$p ? : |
236
|
9 |
3 |
unless delete $self->{'waiting'} |
|
2 |
2 |
if $p |
237
|
4 |
8 |
unless delete $self->{'write'} |
|
4 |
0 |
if $i->[1] |