blib/lib/Convos/Core/Connection.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 67 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
238 | 0 | 0 | 0 | $nick and $self->_irc->nick ne $nick |
357 | 0 | 0 | 0 | $is_private_message and $$data{'user'} |
973 | 0 | 0 | 0 | $event eq 'server_message' and $$data{'status'} != 200 |
line | l | !l | condition |
---|---|---|---|
199 | 0 | 0 | $url || 'Convos' |
328 | 0 | 0 | $$message{'command'} ||= '' |
350 | 0 | 0 | $$data{'host'} ||= 'localhost' |
409 | 0 | 0 | $cb || sub { } |
454 | 0 | 0 | delete $$self{'whois'}{$nick} || {} |
456 | 0 | 0 | $$whois{'channels'} ||= [] |
457 | 0 | 0 | $$whois{'idle'} ||= 0 |
458 | 0 | 0 | $$whois{'realname'} ||= '' |
459 | 0 | 0 | $$whois{'user'} ||= '' |
474 | 0 | 0 | $$message{'params'}[2] || 0 |
503 | 0 | 0 | $$message{'params'}[2] || '' |
576 | 0 | 0 | $$message{'params'}[$i++] // '' |
589 | 0 | 0 | $$message{'params'}[2] || 'Illegal channel name' |
796 | 0 | 0 | delete $$self{'nicks'}{$channel} || [] |
812 | 0 | 0 | $$self{'nicks'}{$channel} ||= [] |
830 | 0 | 0 | $$message{'params'}[3] // '' |
930 | 0 | 0 | $$message{'params'}[0] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
190 | 0 | 0 | 0 | $$self{'keepnick_tid'} ||= $irc->ioloop->recurring(60, sub { $self->_steal_nick; } ) |
200 | 0 | 0 | 0 | $$args{'nick'} || $self->login |
202 | 0 | 0 | 0 | $$args{'server'} || $$args{'host'} |
204 | 0 | 0 | 0 | $$args{'username'} || $self->login |
353 | 0 | 0 | 0 | $is_private_message or $$data{'message'} =~ /\b$current_nick\b/ |
354 | 0 | 0 | 0 | $$data{'user'} ||= $self->_irc->user |
969 | 0 | 0 | 0 | $$data{'timestamp'} ||= time |
970 | 0 | 0 | 0 | $$data{'uuid'} ||= Mojo::Util::md5_sum($$data{'timestamp'} . $$) |