Condition Coverage

blib/lib/AnyEvent/Redis.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 0 $$self{'sub'} and %{$$self{'sub'};}
132 0 0 0 ref $_[-1] and UNIVERSAL::isa($_[-1], 'AnyEvent::CondVar')
136 0 0 0 $is_subscribe and not $cb
140 0 0 0 $$self{'encoding'} && length $_
161 0 0 0 $$self{'sub'} && %{$$self{'sub'};}
167 0 0 0 not $already and @_
249 0 0 0 ref $r && UNIVERSAL::isa($r, 'AnyEvent::Redis::Error')
273 0 0 0 not $err and $res eq 'QUEUED'
292 0 0 0 $command eq 'keys' and not ref $res
327 0 0 0 $p and $p == $cv

or 2 conditions

line l !l condition
21 0 0 delete $args{'host'} || '127.0.0.1'
22 0 0 delete $args{'port'} || 6379
164 0 0 $$self{'sub'}{$_} ||= [$cv, $cb]
221 0 0 $$self{'on_error'} || sub { die @_; }
313 0 0 delete $$self{'connect_queue'} || []

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 $$self{'all_cv'} ||= &AE::cv()
80 0 0 0 $cv ||= &AE::cv()
123 0 0 0 $is_pubsub or $command eq 'multi'
135 0 0 0 $cv ||= &AE::cv()
176 0 0 0 $action eq 'subscribe' or $action eq 'psubscribe'
0 0 0 $action eq 'unsubscribe' or $action eq 'punsubscribe'
198 0 0 0 $$self{'sub_count'} or %{$$self{'sub'};}
240 0 0 0 $err or ref $res ne 'ARRAY'