Condition Coverage

blib/lib/Ace/SocketServer.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
58 0 1 0 defined $msg and $msg ne 'ACESERV_MSGKILL'
187 79 0 9 defined $strip_null and $strip_null

or 2 conditions

line l !l condition
37 0 4 $user ||= 'anonymous'
38 0 4 $pass ||= 'guest'
39 4 0 $timeout ||= 120
181 84 4 $$self{'client_id'} ||= $clientID

or 3 conditions

line l !l&&r !l&&!r condition
40 4 0 0 'IO::Socket::INET'->new("${host}:$port") || return(_error(q[Couldn't establish connection]))
84 0 0 0 $self->_do_encore or return
97 76 3 0 $msg eq 'ACESERV_MSGOK' or $msg eq 'ACESERV_MSGFAIL'