Branch Coverage

blib/lib/POE/Component/Server/IRC/Plugin/Auth.pm
Criterion Covered Total %
branch 7 38 18.4


line true false branch
45 1 0 if $self->{'resolver'}
66 0 1 unless $needs_auth
67 0 1 unless $ircd->connection_exists($conn_id)
93 1 0 if ($peeraddr =~ /^127\./) { }
133 0 0 if $response
160 0 0 unless ($ircd->connection_exists($conn_id))
181 0 0 unless defined $response->{'response'}
183 0 0 unless @answers
189 0 0 if $context->{'hostname'} =~ /\.$/
191 0 0 ip_is_ipv6($peer_ip) ? :
196 0 0 if (defined $query)
210 0 0 unless ($ircd->connection_exists($conn_id))
230 0 0 unless defined $response->{'response'}
232 0 0 unless @answers
237 0 0 if ($answer->rdatastr eq $peeraddr)
271 1 1 if $self->{'conns'}{$conn_id}{'done'} != 2
290 0 1 unless ($ircd->connection_exists($conn_id))
313 0 0 unless ($ircd->connection_exists($conn_id))
319 0 0 if uc $opsys ne "OTHER"