| line |
true |
false |
branch |
|
13
|
0 |
2 |
if @_ & 1 |
|
22
|
0 |
2 |
unless ($irc->isa("POE::Component::IRC::State")) |
|
103
|
0 |
40 |
if $input->{'command'} eq "PING" |
|
109
|
24 |
16 |
if $self->{'stashed'} |
|
111
|
16 |
0 |
if ($input->{'command'} =~ /^(?:NOTICE|\d{3})$/) |
|
115
|
1 |
15 |
if $input->{'command'} =~ /^(?:376|422)$/ |
|
121
|
0 |
23 |
unless defined $self->{'wheels'}{$wheel_id}{'wheel'} |
|
122
|
0 |
23 |
unless $self->{'wheels'}{$wheel_id}{'reg'} |
|
130
|
0 |
1 |
unless defined $self->{'wheels'}{$wheel_id} |
|
151
|
0 |
2 |
if ($self->{'irc'}->connected) |
|
168
|
0 |
1 |
unless ($self->{'listener'}) |
|
190
|
1 |
0 |
if ($wheel) { } |
|
215
|
5 |
0 |
unless defined $self->{'wheels'}{$wheel_id} and $self->{'wheels'}{$wheel_id}{'quiting'} |
|
226
|
0 |
12 |
if $wheels->{$wheel_id}{'quiting'} |
|
228
|
1 |
11 |
if ($input->{'command'} eq "QUIT") |
|
233
|
1 |
10 |
if ($input->{'command'} eq "PASS" and $wheels->{$wheel_id}{'reg'} < 2) |
|
237
|
1 |
10 |
if ($input->{'command'} eq "NICK" and $wheels->{$wheel_id}{'reg'} < 2) |
|
242
|
1 |
10 |
if ($input->{'command'} eq "USER" and $wheels->{$wheel_id}{'reg'} < 2) |
|
247
|
1 |
10 |
if (not $wheels->{$wheel_id}{'reg'} and $wheels->{$wheel_id}{'register'} >= 2) |
|
251
|
0 |
1 |
if (not $password or $password ne $self->{'password'}) |
|
264
|
0 |
1 |
if ($nickname ne $wheels->{$wheel_id}{'nick'}) |
|
282
|
6 |
4 |
unless $wheels->{$wheel_id}{'reg'} |
|
284
|
0 |
4 |
if ($input->{'command'} =~ /^(?:NICK|USER|PASS)$/) |
|
288
|
0 |
4 |
if ($input->{'command'} eq "PING") |
|
293
|
0 |
4 |
if ($input->{'command'} eq "PONG" and $input->{'params'}[0] =~ /^[0-9]+$/) |
|
327
|
4 |
1 |
unless $self->{'listener'} |
|
338
|
0 |
0 |
unless defined $self->{'wheels'}{$wheel_id} |
|
339
|
0 |
0 |
unless wantarray |