Condition Coverage

blib/lib/Mojo/Redis/PubSub.pm
Criterion Covered Total %
condition 16 23 69.5


or 2 conditions

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]) // "*"

or 3 conditions

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'}