Branch Coverage

blib/lib/Net/IMP/Remote/Connection.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
30 0 0 if (my $buf = $wire->init($side))
32 0 0 unless $self->write($buf)
46 0 0 if $error
47 0 0 if (my $ev = $$self{'ev'})
51 0 0 if $$self{'onclose'}
57 0 0 if (not $id) { }
0 0 elsif ($$self{'analyzer'}{$id}) { }
60 0 0 if $id > 2147483647
61 0 0 unless $$self{'analyzer'}{$id}
72 0 0 unless my $id = $self->add_analyzer(@_)
89 0 0 unless (my $wire = $$self{'wire'})
94 0 0 if (defined wantarray)
101 0 0 if $actions
109 0 0 if @_
110 0 0 if ($$self{'wbuf'} eq '') { }
0 0 elsif (defined wantarray or not $$self{'ev'}) { }
117 0 0 if ($n) { }
0 0 elsif (not defined $n and $!{'EAGAIN'}) { }
123 0 0 unless (select undef, $win, undef, undef)
137 0 0 if ($n) { }
0 0 elsif ($!{'EAGAIN'}) { }
139 0 0 if ($$self{'wbuf'} eq '') { }
170 0 0 $incb ? :
174 0 0 $incb ? :
177 0 0 if ($n) { }
0 0 elsif (defined $n) { }
0 0 elsif (not $!{'EAGAIN'}) { }
0 0 elsif ($incb) { }
0 0 elsif ($block) { }
181 0 0 if ($$self{'rbuf'} eq '') { }
201 0 0 unless (select $rin, undef, undef, undef)
218 0 0 unless ($rpc)
228 0 0 unless (my $act = $$actions{$type + 0})
233 0 0 if (ref $act eq 'CODE') { }
0 0 elsif (ref $act eq 'ARRAY') { }
236 0 0 if (not @$act) { }
248 0 0 if $max and $max > 0
249 0 0 unless $max
250 0 0 if $max > 0