| line |
true |
false |
branch |
|
14
|
0 |
2 |
if @_ & 1 |
|
23
|
0 |
2 |
unless ($irc->isa('POE::Component::IRC::State')) |
|
104
|
0 |
40 |
if $input->{'command'} eq 'PING' |
|
110
|
24 |
16 |
if $self->{'stashed'} |
|
112
|
16 |
0 |
if ($input->{'command'} =~ /^(?:NOTICE|\d{3})$/) |
|
116
|
1 |
15 |
if $input->{'command'} =~ /^(?:376|422)$/ |
|
122
|
0 |
23 |
unless defined $self->{'wheels'}{$wheel_id}{'wheel'} |
|
123
|
0 |
23 |
unless $self->{'wheels'}{$wheel_id}{'reg'} |
|
131
|
0 |
1 |
unless defined $self->{'wheels'}{$wheel_id} |
|
152
|
0 |
2 |
if ($self->{'irc'}->connected) |
|
169
|
0 |
1 |
unless ($self->{'listener'}) |
|
191
|
1 |
0 |
if ($wheel) { } |
|
216
|
5 |
0 |
unless defined $self->{'wheels'}{$wheel_id} and $self->{'wheels'}{$wheel_id}{'quiting'} |
|
227
|
0 |
12 |
if $wheels->{$wheel_id}{'quiting'} |
|
229
|
1 |
11 |
if ($input->{'command'} eq 'QUIT') |
|
234
|
1 |
10 |
if ($input->{'command'} eq 'PASS' and $wheels->{$wheel_id}{'reg'} < 2) |
|
238
|
1 |
10 |
if ($input->{'command'} eq 'NICK' and $wheels->{$wheel_id}{'reg'} < 2) |
|
243
|
1 |
10 |
if ($input->{'command'} eq 'USER' and $wheels->{$wheel_id}{'reg'} < 2) |
|
248
|
1 |
10 |
if (not $wheels->{$wheel_id}{'reg'} and $wheels->{$wheel_id}{'register'} >= 2) |
|
252
|
0 |
1 |
if (not $password or $password ne $self->{'password'}) |
|
265
|
0 |
1 |
if ($nickname ne $wheels->{$wheel_id}{'nick'}) |
|
283
|
6 |
4 |
unless $wheels->{$wheel_id}{'reg'} |
|
285
|
0 |
4 |
if ($input->{'command'} =~ /^(?:NICK|USER|PASS)$/) |
|
289
|
0 |
4 |
if ($input->{'command'} eq 'PING') |
|
294
|
0 |
4 |
if ($input->{'command'} eq 'PONG' and $input->{'params'}[0] =~ /^[0-9]+$/) |
|
328
|
4 |
1 |
unless $self->{'listener'} |
|
339
|
0 |
0 |
unless defined $self->{'wheels'}{$wheel_id} |
|
340
|
0 |
0 |
unless wantarray |