Condition Coverage

blib/lib/Net/DRI/Transport/Socket.pm
Criterion Covered Total %
condition 0 68 0.0


and 3 conditions

line !l l&&!r l&&r condition
134 0 0 0 exists $opts{'protocol_connection'} and $opts{'protocol_connection'}
156 0 0 0 exists $opts{'client_newpassword'} and $opts{'client_newpassword'}
158 0 0 0 exists $opts{'protocol_data'} and $opts{'protocol_data'}
162 0 0 0 exists $opts{'find_remote_server'} and defined $opts{'find_remote_server'}
0 0 0 exists $opts{'find_remote_server'} and defined $opts{'find_remote_server'} and $t{'pc'}->can('find_remote_server')
169 0 0 0 exists $opts{$p} and $opts{$p}
173 0 0 0 $opts{'close_after'} and not Net::DRI::Util::isint($opts{'close_after'})
181 0 0 0 exists $opts{'local_host'} and $opts{'local_host'}
261 0 0 0 exists $t->{$p} and $t->{$p}
269 0 0 0 $sock->connected and $sock->print($pc->write_message($self, $login))
293 0 0 0 $sock->connected and $sock->print($pc->write_message($self, $logout))
336 0 0 0 $sock->connected and $sock->print($pc->write_message($self, $noop))
349 0 0 0 defined $ok and $ok == 1
355 0 0 0 defined $err and Net::DRI::Util::is_class($err, 'Net::DRI::Protocol::ResultStatus')
371 0 0 0 defined $self->sock and &Scalar::Util::openhandle(scalar $self->sock)
421 0 0 0 $m ne 'print' || $sock->connected and $sock->$m($pc->write_message($self, $tosend))
441 0 0 0 $t->{'exchanges_done'} == $t->{'close_after'} and $self->has_state
0 0 0 $t->{'exchanges_done'} == $t->{'close_after'} and $self->has_state and $self->current_state
460 0 0 0 $step == 1 and $istimeout == 1
0 0 0 $step == 1 and $istimeout == 1 and $self->transport_data->{'socktype'} eq 'udp'

or 2 conditions

line l !l condition
174 0 0 $opts{'close_after'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
219 0 0 0 $type eq 'tcp' or $type eq 'udp'
421 0 0 0 $m ne 'print' || $sock->connected