| line |
true |
false |
branch |
|
263
|
25 |
1 |
if (my $handler = $KEY_POSITIONS{$command}) |
|
269
|
0 |
5 |
if ($command =~ /$pattern->[0]/u) |
|
275
|
0 |
1 |
if $ENV{'REDIS_DEBUG'} |
|
281
|
2 |
4 |
unless defined $prefix and $prefix ne "" |
|
285
|
0 |
7 |
if $i > $#args |
|
298
|
0 |
3 |
unless @args >= 2 |
|
301
|
1 |
2 |
unless defined $numkeys and $numkeys =~ /^\d+$/u and $numkeys > 0 |
|
313
|
2 |
4 |
if (uc $args[$i] eq "STREAMS") |
|
318
|
0 |
2 |
unless defined $streams_idx |
|
325
|
0 |
2 |
unless $num_streams > 0 |
|
336
|
1 |
1 |
if (@args > 2 and $args[2] ne "") |
|
342
|
1 |
10 |
if (uc $args[$i] eq "KEYS") |
|
354
|
0 |
1 |
unless @args >= 2 |
|
358
|
1 |
0 |
if ($subcmd =~ /^(ENCODING|FREQ|IDLETIME|REFCOUNT)$/u) |
|
368
|
0 |
0 |
unless @args >= 2 |
|
375
|
0 |
0 |
unless @args >= 1 |
|
377
|
0 |
0 |
unless $numkeys =~ /^\d+$/u and $numkeys > 0 |
|
384
|
0 |
0 |
unless @args >= 2 |
|
386
|
0 |
0 |
unless $numkeys =~ /^\d+$/u and $numkeys > 0 |
|
393
|
0 |
0 |
unless @args >= 1 |
|
395
|
0 |
0 |
unless $numkeys =~ /^\d+$/u and $numkeys > 0 |
|
402
|
0 |
0 |
unless @args >= 1 |
|
404
|
0 |
0 |
unless $numkeys =~ /^\d+$/u and $numkeys > 0 |
|
411
|
0 |
0 |
unless @args >= 2 |
|
413
|
0 |
0 |
unless $numkeys =~ /^\d+$/u and $numkeys > 0 |
|
420
|
0 |
0 |
unless @args >= 2 |
|
422
|
0 |
0 |
if ($subcmd =~ /^(STREAM|GROUPS|CONSUMERS)$/u) |
|
431
|
0 |
0 |
unless @args >= 2 |
|
433
|
0 |
0 |
if ($subcmd =~ /^(CREATE|DESTROY|SETID|DELCONSUMER|CREATECONSUMER)$/u) |
|
445
|
0 |
0 |
if (uc($args[$i]) =~ /^(STORE|STOREDIST)$/u) |