line |
true |
false |
branch |
93
|
0 |
3 |
if $self->config->{'ssl'} |
94
|
2 |
1 |
unless $self->config->{'autoconnect'} |
120
|
1 |
2 |
unless $self->disabled |
141
|
0 |
0 |
if ($self->is_connected) |
152
|
0 |
0 |
if not $self->app->ircs |
157
|
6 |
1 |
unless ref $messages eq 'ARRAY' |
170
|
0 |
0 |
if (@{$$message{'params'};}) |
193
|
18 |
2 |
if ($nick and $nick ne '') |
202
|
9 |
5 |
if $_->type ne 'info' |
218
|
0 |
1 |
$self->config->{'ssl'} ? : |
221
|
0 |
1 |
unless ($self->config->{'host'} and $self->config->{'port'}) |
226
|
0 |
1 |
$self->reconnect_count > 1 ? : |
238
|
0 |
1 |
if (defined $err) |
267
|
1 |
0 |
if ($interval < 15) |
272
|
0 |
1 |
unless (defined $time) |
280
|
0 |
0 |
unless $self->is_connected |
319
|
0 |
1 |
if $$self{'disconnect_timer'} |
321
|
1 |
0 |
unless $reason |
322
|
0 |
1 |
if $reason eq 'reconnect requested.' |
339
|
0 |
1 |
if ($self->app->shutting_down and not $self->app->connected_ircs) |
344
|
1 |
0 |
unless $self->disabled |
346
|
0 |
1 |
if ($self->removed) |
356
|
0 |
0 |
unless ($self->app->shutting_down) |
361
|
0 |
0 |
if $msg |
381
|
0 |
0 |
if (my $window = $self->find_window($channel)) |
383
|
0 |
0 |
if $self->app->is_ignore($nick) |
395
|
2 |
0 |
if ($$msg{'command'} eq 'PRIVMSG') { } |
|
0 |
0 |
elsif ($$msg{'command'} eq 'NOTICE') { } |
398
|
0 |
2 |
if $self->app->is_ignore($from) |
402
|
1 |
1 |
unless $self->includes_nick($from) |
412
|
0 |
0 |
if $self->app->is_ignore($nick) |
413
|
0 |
0 |
if (my $window = $self->find_window($channel)) |
423
|
0 |
1 |
if $is_self |
434
|
2 |
2 |
if (not $self->includes_nick($nick)) { } |
440
|
3 |
1 |
if ($is_self) { } |
|
1 |
0 |
elsif (my $window = $self->find_window($channel)) { } |
450
|
0 |
3 |
if $cl->isupport('UHNAMES') |
461
|
4 |
0 |
if (my $window = $self->find_window($channel)) |
463
|
0 |
4 |
if (not $self->includes_nick($_)) { } |
476
|
1 |
1 |
if ($is_self and my $window = $self->find_window($channel)) |
480
|
3 |
0 |
if exists $$_{'channels'}{$channel} |
489
|
1 |
1 |
if not @nicks or grep {$_ eq $self->nick;} @nicks |
491
|
1 |
0 |
if (my $window = $self->find_window($channel)) |
493
|
1 |
0 |
if ($$msg{'command'} and $$msg{'command'} eq 'PART') { } |
495
|
1 |
0 |
unless $self->includes_nick($_) |
497
|
0 |
0 |
unless $self->nick_channels($_) |
512
|
2 |
0 |
if (my $window = $self->find_window($channel)) |
526
|
2 |
0 |
if $$info{'channels'} |
531
|
1 |
0 |
if ($self->nick_channels($nick)) |
541
|
6 |
0 |
if $$msg{'params'}[0] eq $self->nick |
544
|
0 |
6 |
unless $nick |
545
|
6 |
0 |
if $real |
556
|
4 |
2 |
if ($self->includes_nick($nick)) |
563
|
1 |
3 |
if ($$info{'real'} ne $$prev_info{'real'}) |
572
|
0 |
6 |
if ($self->whois_cbs->{$nick}) |
581
|
0 |
0 |
if (my $window = $self->find_window($$msg{'params'}[1])) |
589
|
0 |
0 |
if (my $window = $self->find_window($$msg{'params'}[1])) |
596
|
0 |
1 |
unless $self->includes_nick($nick) |
608
|
0 |
0 |
@nicks ? : |
616
|
1 |
1 |
if ($info and $$info{'real'}) |
617
|
0 |
1 |
if ($$info{'real'} =~ /([^<\s]+\@[^\s>]+\.[^\s>]+)/) { } |
|
0 |
1 |
elsif ($$info{'real'} =~ m[(https?://\S+(?:jpe?g|png|gif))]) { } |
634
|
0 |
0 |
unless $info |
644
|
0 |
0 |
if (my $info = $self->get_nick_info($nick)) |