Condition Coverage

blib/lib/POEx/IRC/Backend.pm
Criterion Covered Total %
condition 17 59 28.8


and 3 conditions

line !l l&&!r l&&r condition
301 2 0 0 defined $args{'listener'} and $self->listeners->{$args{'listener'}}
314 2 0 0 defined $args{'port'} and defined $args{'addr'}
0 0 2 defined $args{'addr'} and $args{'addr'} eq $listener->addr
0 0 0 defined $args{'port'} and $args{'port'} eq $listener->port
315 0 0 0 $args{'addr'} eq $listener->addr and $args{'port'} eq $listener->port
439 0 0 2 defined $remote_addr and defined $remote_port
442 2 0 0 $args{'bindaddr'} && ip_is_ipv6($args{'bindaddr'})
623 2 0 4 blessed $out and $out->isa('IRC::Message::Object')
635 0 0 6 ref $out eq 'HASH' and @ids
688 0 0 4 $w_id and $self->wheels->{$w_id}
765 0 0 0 defined $this_conn and $this_conn->compressed

or 2 conditions

line l !l condition
235 0 0 $self->wheels->{$w_id} || (return)
254 2 0 delete $args{'bindaddr'} || '0.0.0.0'
255 0 2 delete $args{'port'} || 0
271 0 2 delete $args{'idle'} || 180
1 1 delete $args{'ssl'} || 0
589 0 0 $self->wheels->{$w_id} || (return)
601 4 0 $self->wheels->{$w_id} || (return)
641 6 0 $self->wheels->{$target} || (next TARGET)
664 0 0 $str // 'Client disconnect'
681 0 0 $str // 'Client disconnect'

or 3 conditions

line l !l&&r !l&&!r condition
257 0 0 2 delete $args{'ipv6'} || ip_is_ipv6($bindaddr)
591 0 0 0 $errstr || $this_conn->is_disconnecting