| line |
true |
false |
branch |
|
42
|
0 |
1 |
if $event =~ /^err_/ |
|
51
|
4 |
3 |
length($topic // '') ? : |
|
53
|
1 |
6 |
unless ($channel) |
|
57
|
1 |
5 |
if ($channel =~ /\s/) |
|
75
|
1 |
4 |
if ($event eq 'rpl_notopic') { } |
|
|
1 |
3 |
elsif ($event eq 'rpl_topic') { } |
|
|
1 |
2 |
elsif ($event eq 'topic') { } |
|
88
|
5 |
0 |
if $res |
|
91
|
3 |
2 |
$res ? : |
|
98
|
1 |
2 |
unless ($channel) |
|
111
|
4 |
0 |
if lc $msg->{'params'}[2] eq lc $channel |
|
116
|
0 |
2 |
$event =~ /^err_/ ? : |
|
128
|
1 |
5 |
unless ($channel) |
|
149
|
0 |
1 |
unless lc $msg->{'params'}[1] eq lc $channel |
|
151
|
11 |
0 |
if ref $item eq 'HASH' and $item->{'1'} and $item->{'1'} eq $channel |
|
157
|
3 |
0 |
if lc $msg->{'params'}[2] eq lc $channel |
|
161
|
3 |
0 |
if lc $msg->{'params'}[1] eq lc $channel |
|
165
|
3 |
0 |
if lc $msg->{'params'}[1] eq lc $channel |
|
171
|
2 |
3 |
$event =~ /^(?:err_|479)/ ? : |
|
199
|
1 |
1 |
lc $msg->{'params'}[2] eq lc $nick ? : |
|
200
|
1 |
1 |
$event =~ /^err_/ ? : |
|
208
|
0 |
0 |
if $mode and $mode =~ /(\S+)\s+(.+)/ |
|
213
|
3 |
15 |
ref $_[-1] eq 'CODE' ? : |
|
216
|
15 |
3 |
unless ($cb) |
|
217
|
13 |
2 |
unless defined $nick |
|
222
|
2 |
1 |
if ($nick) { } |
|
223
|
2 |
0 |
if ($self->{'stream'}) { } |
|
236
|
1 |
1 |
if $event eq 'nick' |
|
237
|
1 |
1 |
$event =~ /^err_/ ? : |
|
256
|
1 |
3 |
unless ($channel) |
|
260
|
1 |
2 |
if ($channel =~ /\s/) |
|
275
|
1 |
1 |
$event =~ /^(?:err_|479)/ ? : |
|
285
|
1 |
1 |
unless ($target) |
|
299
|
0 |
1 |
unless lc $msg->{'params'}[1] eq lc $target |
|
307
|
0 |
1 |
unless lc $msg->{'params'}[1] eq lc $target |
|
313
|
0 |
1 |
unless lc $msg->{'params'}[1] eq lc $target |
|
319
|
0 |
1 |
unless lc $msg->{'params'}[1] eq lc $target |
|
328
|
0 |
1 |
$event =~ /^err_/ ? : |
|
366
|
0 |
0 |
$event =~ /^(?:err_)/ ? : |
|
386
|
0 |
0 |
$event =~ /^(?:err_)/ ? : |
|
388
|
0 |
0 |
$mode ? : |
|
396
|
7 |
11 |
$nick =~ s/$re// ? : |
|
428
|
20 |
20 |
if ref $needle eq 'CODE' |
|
431
|
20 |
0 |
$k =~ /^\d/ ? : |
|
432
|
1 |
19 |
unless lc $v eq lc $needle->{$k} |
|
447
|
20 |
0 |
unless $err |