| blib/lib/Mojo/Redis/Database.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 7 | 12 | 58.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 131 | 19 | 0 | 0 | &blessed($_[0]) and $_[0]->isa("Mojo::Redis::Connection") |
| 215 | 0 | 2 | 10 | my $redis = $self->{'redis'} and my $conn = $self->{'_conn_dequeue'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 116 | 95 | 3002 | 0 | $op ||= uc $method |
| 134 | 7 | 12 | 0 | $$self{"_conn$method"} ||= $self->redis->$method |