line |
true |
false |
branch |
28
|
0 |
70 |
unless (ref $self->{'order'}) |
33
|
44 |
30 |
if ($order eq 'asc') { } |
|
30 |
0 |
elsif ($order eq 'desc') { } |
43
|
61 |
9 |
$SUPPORT_64BIT ? : |
44
|
61 |
9 |
$SUPPORT_64BIT ? : |
62
|
0 |
0 |
if ($self->{'use_hash'}) { } |
64
|
0 |
0 |
if ($self->{'use_script'}) { } |
82
|
0 |
0 |
if $old_packed_score |
89
|
0 |
0 |
if ($self->{'use_script'}) { } |
107
|
0 |
0 |
if $old_packed_score |
121
|
0 |
0 |
$self->{'use_hash'} ? : |
123
|
0 |
0 |
unless $packed_score |
135
|
0 |
0 |
unless (ref $scores) |
139
|
0 |
0 |
if ($self->{'use_hash'}) { } |
141
|
0 |
0 |
if ($self->{'use_script'}) { } |
160
|
0 |
0 |
if ($old_packed_score) |
169
|
0 |
0 |
if ($script->eval($redis, [$key, $hash_key], [$member, $packed_score, $old_packed_score || ''])) |
179
|
0 |
0 |
if ($old_packed_score) |
199
|
0 |
0 |
if ($old_packed_score) |
214
|
0 |
0 |
wantarray ? : |
220
|
0 |
0 |
unless (ref $scores) |
232
|
0 |
0 |
if (my $expire_at = $self->{'expire_at'}) |
234
|
0 |
0 |
if ($self->{'use_hash'}) { } |
241
|
0 |
0 |
if ($self->{'limit'}) |
253
|
0 |
0 |
if ($self->{'use_hash'}) { } |
255
|
0 |
0 |
if ($self->{'use_script'}) { } |
278
|
0 |
0 |
unless @_ |
284
|
0 |
0 |
if ($self->{'use_script'}) { } |
307
|
0 |
0 |
unless @_ |
320
|
0 |
0 |
if ($self->{'use_hash'}) { } |
322
|
0 |
0 |
if ($self->{'use_script'}) { } |
339
|
0 |
0 |
if ($packed_score) |
347
|
0 |
0 |
if ($self->{'use_script'}) { } |
364
|
0 |
0 |
if ($packed_score) |
379
|
0 |
0 |
if ($self->{'use_hash'}) { } |
381
|
0 |
0 |
if ($self->{'use_script'}) { } |
396
|
0 |
0 |
if ($self->{'use_script'}) { } |
431
|
0 |
0 |
if ($self->{'use_hash'}) { } |
433
|
0 |
0 |
if ($self->{'use_script'}) { } |
447
|
0 |
0 |
if $packed_score |
451
|
0 |
0 |
if ($self->{'use_script'}) { } |
467
|
0 |
0 |
if $packed_score |
472
|
0 |
0 |
unless defined $rank and defined $packed_score |
490
|
0 |
0 |
if (not $from || $to) { } |
494
|
0 |
0 |
defined $from ? : |
495
|
0 |
0 |
defined $to ? : |
502
|
0 |
0 |
exists $args{'limit'} ? : |
503
|
0 |
0 |
exists $args{'offset'} ? : |
506
|
0 |
0 |
unless @$members_with_scores |
514
|
0 |
0 |
if (not $current_rank) { } |
|
0 |
0 |
elsif (not grep({$scores->[$_] != $current_target_scores->[$_];} 0 .. @$scores - 1)) { } |
549
|
0 |
54 |
unless (ref $scores) |
554
|
0 |
54 |
if $num != scalar @$order |
555
|
49 |
5 |
if ($SUPPORT_64BIT) { } |
561
|
2 |
3 |
$_ < 0 ? : |
569
|
12 |
4 |
if ($SUPPORT_64BIT) { } |
570
|
12 |
0 |
wantarray ? : |
575
|
2 |
2 |
if ($scores[$i + 1] >= 0 and $scores[$i] != 0 or $scores[$i + 1] < 0 and $scores[$i] != -1) |
580
|
0 |
4 |
wantarray ? : |