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
215 0 5 0 defined $self->{'wheels'}{$wheel_id} and $self->{'wheels'}{$wheel_id}{'quiting'}
233 10 0 1 $input->{'command'} eq "PASS" and $wheels->{$wheel_id}{'reg'} < 2
237 10 0 1 $input->{'command'} eq "NICK" and $wheels->{$wheel_id}{'reg'} < 2
242 10 0 1 $input->{'command'} eq "USER" and $wheels->{$wheel_id}{'reg'} < 2
247 4 6 1 not $wheels->{$wheel_id}{'reg'} and $wheels->{$wheel_id}{'register'} >= 2
293 4 0 0 $input->{'command'} eq "PONG" and $input->{'params'}[0] =~ /^[0-9]+$/

or 2 conditions

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

or 3 conditions

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