Condition Coverage

lib/Mail/Pyzor/Client.pm
Criterion Covered Total %
condition 14 30 46.6


and 3 conditions

line !l l&&!r l&&r condition
371 1 0 0 defined $self->{'_sock_pid'} and $self->{'_sock_pid'} != $$

or 3 conditions

line l !l&&r !l&&!r condition
162 1 4 0 $OPTS{'server_host'} || $DEFAULT_SERVER_HOST
1 4 0 $OPTS{'server_port'} || $DEFAULT_SERVER_PORT
1 4 0 $OPTS{'username'} || $DEFAULT_USERNAME
1 0 4 $OPTS{'password'} || $DEFAULT_PASSWORD
1 4 0 $OPTS{'timeout'} || $DEFAULT_TIMEOUT
335 2 0 0 defined $bytes or $!{'EAGAIN'}
0 0 0 defined $bytes or $!{'EAGAIN'} or $!{'EWOULDBLOCK'}
376 0 1 0 $self->{'_sock_pid'} ||= $$
379 0 0 1 $self->{'_sock'} ||= 'IO::Socket::INET'->new('PeerHost', $self->{'_server_host'}, 'PeerPort', $self->{'_server_port'}, 'Proto', 'udp')