Condition Coverage

blib/lib/Test/TCP.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

line !l l&&!r l&&r condition
38 1 2 14 @_ and ref $_[0] eq 'HASH'

or 2 conditions

line l !l condition
51 16 1 $max_wait ||= 10

or 3 conditions

line l !l&&r !l&&!r condition
75 0 1 0 $self->{'socket'} ||= Net::EmptyPort::listen_socket({'host', $self->{'host'}, 'proto', $self->{'proto'}})
79 2 17 0 $self->{'port'} ||= empty_port({'host', $self->{'host'}})
100 0 3 0 $self->{'socket'} || $self->port
142 0 14 13 $kid == 0 or $kid == -1