| line |
true |
false |
branch |
|
20
|
4 |
12 |
if defined $self->{'pid'} and $self->{'pid'} == $$ |
|
26
|
2 |
3 |
if $self->{'stream'} |
|
31
|
3 |
22 |
$_[0]{'stream'} && !$_[0]{'gone_away'} ? : |
|
36
|
0 |
1 |
$self->is_connected ? : |
|
44
|
1 |
7 |
$self->is_connected ? : |
|
50
|
0 |
11 |
if $self->{'id'} |
|
53
|
2 |
9 |
if $self->{'gone_away'} |
|
56
|
1 |
8 |
if not $self->{'master_url'} and $url->query->param("sentinel") |
|
71
|
0 |
6 |
unless $self |
|
74
|
1 |
5 |
if $err |
|
81
|
2 |
3 |
if length $url->path->[0] |
|
82
|
2 |
3 |
if length $url->password |
|
98
|
1 |
9 |
if (file_name_is_absolute($args{'address'})) { } |
|
124
|
0 |
2 |
unless $self |
|
125
|
0 |
2 |
if $err |
|
128
|
0 |
1 |
unless $self->{'master_url'} |
|
136
|
2 |
0 |
if length $url->password |
|
144
|
1 |
1 |
unless ref $host_port and @$host_port == 2 |
|
164
|
34 |
0 |
$encoding ? : |
|
168
|
0 |
0 |
unless $_[0]{'id'} |
|
170
|
0 |
0 |
(shift())->ioloop eq 'Mojo::IOLoop'->singleton ? : |
|
177
|
0 |
5 |
unless $self |
|
182
|
4 |
1 |
if @_ == 1 |
|
183
|
0 |
0 |
$err ? : |
|
|
0 |
5 |
if $self and undef |
|
192
|
0 |
4 |
unless $self |
|
206
|
4 |
4 |
unless $self->{'write_lock'} |
|
212
|
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'}) { } |
|
220
|
0 |
2 |
if defined $err |
|
237
|
0 |
8 |
unless $self->{'waiting'} |
|
238
|
0 |
0 |
$p ? : |
|
|
0 |
8 |
unless $res |
|
239
|
4 |
4 |
$p ? : |
|
246
|
9 |
3 |
unless delete $self->{'waiting'} |
|
|
2 |
2 |
if $p |
|
247
|
4 |
8 |
unless delete $self->{'write'} |
|
|
4 |
0 |
if $i->[1] |