Branch Coverage

blib/lib/Ace/SocketServer.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
46 0 0 unless $self->_handshake($user, $pass)
54 0 0 if $$self{'last_msg'} eq 'ACESERV_MSGKILL'
58 0 0 if defined $msg and $msg ne 'ACESERV_MSGKILL'
71 0 0 if 'Ace'->debug
72 0 0 unless ($self->_send_msg($request, $parse))
83 0 0 unless $self->status == 1
84 0 0 if $self->encore
87 0 0 if ($$self{'timeout'})
91 0 0 unless $result
95 0 0 unless defined $msg
97 0 0 if ($msg eq 'ACESERV_MSGOK' or $msg eq 'ACESERV_MSGFAIL') { }
0 0 elsif ($msg eq 'ACESERV_MSGENCORE') { }
113 0 0 unless ($self->_send_msg($data, 1))
133 0 0 unless ($self->_send_msg('encore'))
145 0 0 unless $msg eq 'ACESERV_MSGOK'
151 0 0 unless $body eq 'et bonjour a vous'
157 0 0 unless my $sock = $$self{'socket'}
161 0 0 if ($parse) { }
164 0 0 $msg eq "encore\000" ? :
173 0 0 unless my $sock = $$self{'socket'}
176 0 0 unless ($bytes > 0)
184 0 0 if ($length > 0) { }
185 0 0 unless CORE::read $sock, $body, $length
187 0 0 if defined $strip_null and $strip_null