| blib/lib/Redis/Namespace.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 41 | 12.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 337 | 0 | 16 | 16 | $item and not $type |
| 365 | 0 | 16 | 16 | $item and not $type |
| 669 | 0 | 0 | 0 | $self->{'strict'} and $UNSAFE_COMMANDS{$command} |
| 673 | 0 | 0 | 0 | $before and $after |
| 680 | 0 | 0 | 0 | @args and ref $args[-1] eq 'CODE' |
| 740 | 0 | 0 | 0 | $i <= @args and $last < 0 || $i <= $last |
| 753 | 0 | 0 | 0 | @args and ref $args[-1] eq 'CODE' |
| line | l | !l | condition |
|---|---|---|---|
| 646 | 0 | 0 | $filters->{$subcommand}[0] // 'none' |
| 647 | 0 | 0 | $filters->{$subcommand}[1] // 'none' |
| 651 | 0 | 0 | $filters->{$subcommand}[0] // 'none' |
| 652 | 0 | 0 | $filters->{$subcommand}[1] // 'none' |
| 658 | 0 | 0 | $filters->[0] // 'none' |
| 659 | 0 | 0 | $filters->[1] // 'none' |
| 854 | 0 | 0 | $subscribers->{$cb} // sub { my($message, $topic, $subscribed_topic) = @_; &$cb($message, $self->rem_namespace($topic), $self->rem_namespace($subscribed_topic)); } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 608 | 4 | 0 | 0 | $args{'redis'} || 'Redis'->new(%args) |
| 740 | 0 | 0 | 0 | $last < 0 || $i <= $last |