Branch Coverage

blib/lib/Cache/Memcached/AnyEvent.pm
Criterion Covered Total %
branch 1 82 1.2


line true false branch
28 0 0 @_ == 1 ? :
64 0 0 unless ($klass =~ s/^\+//)
71 0 0 if $@
77 0 0 if (@_)
0 0 if (@_)
0 0 if (@_)
0 0 if (@_)
0 0 if (@_)
87 0 10 if $@
94 0 0 if (@_)
105 0 0 if (@_)
116 0 0 if $$self{'_is_connecting'}{$server}
118 0 0 if $cv
124 0 0 if $cv
132 0 0 if (not $fh) { }
136 0 0 if ($$self{'auto_reconnect'} > $$self{'_connect_attempts'}{$server}++)
151 0 0 if (defined $$h{'wbuf'} and $$h{'wbuf'} eq '')
154 0 0 if (defined $$h{'rbuf'} and $$h{'rbuf'} eq '')
166 0 0 if $$self{'auto_reconnect'}
193 0 0 if $$self{'_is_connecting'} or $$self{'_is_connected'}
201 0 0 unless ($$self{'_active_server_count'})
207 0 0 if (my $cb = $$self{'on_connect'})
220 0 0 if ref $args[-1] eq 'CODE' or ref $args[-1] eq 'AnyEvent::CondVar'
247 0 0 if ref $args[-1] eq 'CODE' or ref $args[-1] eq 'AnyEvent::CondVar'
257 0 0 if ref $args[-1] eq 'CODE' or ref $args[-1] eq 'AnyEvent::CondVar'
267 0 0 if ref $args[-1] eq 'CODE' or ref $args[-1] eq 'AnyEvent::CondVar'
279 0 0 if ref $args[-1] eq 'CODE' or ref $args[-1] eq 'AnyEvent::CondVar'
288 0 0 unless $$self{'_is_draining'}
293 0 0 unless ($$self{'_is_connected'})
294 0 0 if ($$self{'_is_connecting'})
301 0 0 if ($$self{'_is_draining'})
305 0 0 unless $cb
323 0 0 if ($handle)
348 0 0 if (my $ns = $$self{'namespace'})
357 0 0 if (my $ns = $$self{'namespace'})
361 0 0 if (defined $$flags_ref and defined $$data_ref)
362 0 0 if ($$flags_ref & 2 and 1)
365 0 0 if ($$flags_ref & 1)
376 0 0 if (ref $$value_ref)
390 0 0 if ($compressable)
394 0 0 if ($c_len < $$len_ref * 0.8)