Branch Coverage

lib/AnyEvent/Connection.pm
Criterion Covered Total %
branch 17 40 42.5


line true false branch
223 0 1 unless defined $$self{'reconnect'}
237 1 4 if $$self{'connecting'}
240 0 4 if $$self{'type'} and $$self{'type'} ne 'client'
243 0 4 if $$self{'debug'}
248 4 0 if (my $fh = shift()) { }
249 0 4 if $$self{'debug'}
257 0 1 if $$self{'debug'}
266 0 0 if $$self{'debug'}
286 0 1 unless $$self{'reconnect'}
290 0 1 unless $self
312 0 0 unless $self
319 0 0 if defined wantarray
331 0 0 unless $self
340 0 0 if defined wantarray
354 0 5 if ref $$self{'con'} eq 'HASH'
355 4 1 if $$self{'con'}
356 0 5 if $@
363 4 1 if $wascon
377 0 1 if $$self{'debug'}
387 0 0 unless $$self{'connected'}