line |
true |
false |
branch |
126
|
0 |
13 |
if -e $file |
134
|
13 |
0 |
if ($create) |
146
|
13 |
0 |
unless ($ENV{'SAFE'}) |
188
|
12 |
9 |
if ($x) |
198
|
1 |
8 |
if ($x) |
218
|
6 |
44 |
unless ($self->{'get'}) |
262
|
0 |
0 |
if ($s < 0) |
266
|
0 |
0 |
if ($e < 0) |
287
|
4 |
0 |
if (defined $data) |
325
|
0 |
0 |
if $self->exists($new_name) |
348
|
7 |
47 |
unless ($self->{'ins'}) |
370
|
1 |
0 |
if $self->exists($key) |
392
|
0 |
0 |
$val ? : |
420
|
2 |
3 |
if $x |
427
|
1 |
2 |
if $x |
458
|
0 |
12 |
unless defined $amt |
493
|
0 |
12 |
unless defined $amt |
519
|
2 |
5 |
if $str->rows > 0 |
527
|
1 |
4 |
if $set->rows > 0 |
575
|
4 |
29 |
if ($pattern) { } |
580
|
13 |
17 |
if $ent =~ /$pattern/ |
634
|
3 |
10 |
unless ($self->{'smembers'}) |
669
|
1 |
1 |
if ($sql->rows > 0) |
695
|
11 |
11 |
if (defined $x and $x eq $key) |
713
|
7 |
58 |
unless ($self->{'sadd'}) |
724
|
65 |
0 |
if ($self->{'sadd'}->rows > 0) |
743
|
3 |
6 |
unless ($self->{'srem'}) |
751
|
9 |
0 |
if ($self->{'srem'}->rows > 0) |
769
|
1 |
3 |
unless defined $count |
797
|
2 |
4 |
unless ($self->{'srandommember'}) |
800
|
0 |
2 |
unless $self->{'srandommember'} = $self->{'db'}->prepare('SELECT val FROM sets where key=? ORDER BY RANDOM() LIMIT 1') |
921
|
5 |
10 |
if ($seen{$key} == scalar @names) |
968
|
6 |
20 |
unless ($self->{'scard'}) |
1076
|
0 |
0 |
if ($self->exists($key)) { } |
1132
|
0 |
0 |
if $self->exists($key) |