Branch Coverage

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


line true false branch
14 134 8 $id ? :
80 8 0 if ($$self{'peer_ip'} and not @{$$self{'peer_ips'};})
114 0 12 if @_
122 0 0 if @_
130 0 0 if @_
140 0 13 unless ($self->connected)
145 13 0 if (my $wheel = $self->wheel) { }
150 0 0 $self->error ? :
289 12 6 if (my $wheel = $self->wheel)
292 1 11 if (not $force and $out) { }
300 12 5 if $force
308 0 17 if (my $socket = $self->socket)
315 0 17 if (my $con = $self->fused)
323 8 9 if ($self->connected)
342 0 0 if (my $wheel = $self->wheel)
405 0 0 if (my $wheel = $self->wheel)
406 0 0 if ($watch) { }
421 0 0 if (my $wheel = $self->wheel)
422 0 0 if ($watch) { }
438 0 8 if (keys %{$$self{'destroy_events'};})