Condition Coverage

blib/lib/Net/IMP/Remote/Connection.pm
Criterion Covered Total %
condition 0 23 0.0


and 3 conditions

line !l l&&!r l&&r condition
96 0 0 0 $self->write($buf) && ($actions ? $self->nextop($actions) : 1)
117 0 0 0 not defined $n and $!{'EAGAIN'}
248 0 0 0 $max and $max > 0

or 2 conditions

line l !l condition
156 0 0 $wself->write or return

or 3 conditions

line l !l&&r !l&&!r condition
110 0 0 0 defined wantarray or not $$self{'ev'}
152 0 0 0 $$self{'onwrite'} ||= do { weaken(my $wself = $self); sub { $wself->write or return while $$wself{'wbuf'} ne ''; $$wself{'ev'}->onwrite($$wself{'fd'}, undef); } }
170 0 0 0 defined wantarray || !$$self{'ev'}
176 0 0 0 $n // $!