Condition Coverage

blib/lib/POE/Component/IRC/Plugin/Proxy.pm
Criterion Covered Total %
condition 16 30 53.3


and 3 conditions

line !l l&&!r l&&r condition
216 0 5 0 defined $self->{'wheels'}{$wheel_id} and $self->{'wheels'}{$wheel_id}{'quiting'}
234 10 0 1 $input->{'command'} eq 'PASS' and $wheels->{$wheel_id}{'reg'} < 2
238 10 0 1 $input->{'command'} eq 'NICK' and $wheels->{$wheel_id}{'reg'} < 2
243 10 0 1 $input->{'command'} eq 'USER' and $wheels->{$wheel_id}{'reg'} < 2
248 4 6 1 not $wheels->{$wheel_id}{'reg'} and $wheels->{$wheel_id}{'register'} >= 2
294 4 0 0 $input->{'command'} eq 'PONG' and $input->{'params'}[0] =~ /^[0-9]+$/

or 2 conditions

line l !l condition
163 0 1 $self->{'bindaddress'} || 'localhost'
0 1 $self->{'bindport'} || 0
257 0 0 $wheels->{$wheel_id}{'user'} || 'unknown'

or 3 conditions

line l !l&&r !l&&!r condition
252 0 0 1 not $password or $password ne $self->{'password'}
312 3 2 0 $self->{'irc'} || $_[10]