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 |
677 | 0 | 0 | 0 | $self->{'strict'} and $UNSAFE_COMMANDS{$command} |
681 | 0 | 0 | 0 | $before and $after |
688 | 0 | 0 | 0 | @args and ref $args[-1] eq 'CODE' |
748 | 0 | 0 | 0 | $i <= @args and $last < 0 || $i <= $last |
761 | 0 | 0 | 0 | @args and ref $args[-1] eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
654 | 0 | 0 | $filters->{$subcommand}[0] // 'none' |
655 | 0 | 0 | $filters->{$subcommand}[1] // 'none' |
659 | 0 | 0 | $filters->{$subcommand}[0] // 'none' |
660 | 0 | 0 | $filters->{$subcommand}[1] // 'none' |
666 | 0 | 0 | $filters->[0] // 'none' |
667 | 0 | 0 | $filters->[1] // 'none' |
862 | 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 |
---|---|---|---|---|
616 | 4 | 0 | 0 | $args{'redis'} || 'Redis'->new(%args) |
748 | 0 | 0 | 0 | $last < 0 || $i <= $last |