Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 0 exists $opts{'protocol_connection'} and $opts{'protocol_connection'}
155 0 0 0 exists $opts{'client_newpassword'} and $opts{'client_newpassword'}
157 0 0 0 exists $opts{'protocol_data'} and $opts{'protocol_data'}
161 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')
168 0 0 0 exists $opts{$p} and $opts{$p}
172 0 0 0 $opts{'close_after'} and not Net::DRI::Util::isint($opts{'close_after'})
180 0 0 0 exists $opts{'local_host'} and $opts{'local_host'}
260 0 0 0 exists $$t{$p} and $$t{$p}
268 0 0 0 $sock->connected and $sock->print($pc->write_message($self, $login))
292 0 0 0 $sock->connected and $sock->print($pc->write_message($self, $logout))
335 0 0 0 $sock->connected and $sock->print($pc->write_message($self, $noop))
348 0 0 0 defined $ok and $ok == 1
354 0 0 0 defined $err and Net::DRI::Util::is_class($err, 'Net::DRI::Protocol::ResultStatus')
417 0 0 0 $m ne 'print' || $sock->connected and $sock->$m($pc->write_message($self, $tosend))
437 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
456 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
173 0 0 $opts{'close_after'} || 0

or 3 conditions

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