blib/lib/Mojo/Redis/PubSub.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 29 | 55.1 |
line | l | !l | condition |
---|---|---|---|
49 | 0 | 1 | $self->{'chans'}{$name} ||= [] |
88 | 1 | 7 | ($_[0] // $args->{'key'}) // "*" |
89 | 0 | 5 | ($_[1] // $args->{'op'}) // "*" |
93 | 4 | 1 | ($args->{'db'} // $self->redis->url->path->[0]) // "*" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
88 | 2 | 1 | 7 | $_[0] // $args->{'key'} |
89 | 5 | 0 | 5 | $_[1] // $args->{'op'} |
90 | 2 | 8 | 0 | $args->{'type'} || ($args->{'key'} eq '*' ? 'keyevent' : 'keyspace') |
93 | 5 | 4 | 1 | $args->{'db'} // $self->redis->url->path->[0] |
101 | 0 | 0 | 0 | $delay < 0 or $self->{'reconnect_tid'} |
120 | 0 | 0 | 0 | $psub or $res->[1] |
121 | 0 | 0 | 0 | $psub or $res->[1] |