blib/lib/App/Alice/IRC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 34 | 47.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
193 | 2 | 0 | 18 | $nick and $nick ne '' |
221 | 0 | 1 | 0 | $self->config->{'host'} and $self->config->{'port'} |
339 | 1 | 0 | 0 | $self->app->shutting_down and not $self->app->connected_ircs |
476 | 1 | 0 | 1 | $is_self and my $window = $self->find_window($channel) |
493 | 0 | 0 | 1 | $$msg{'command'} and $$msg{'command'} eq 'PART' |
616 | 1 | 0 | 1 | $info and $$info{'real'} |
line | l | !l | condition |
---|---|---|---|
197 | 2 | 0 | $self->nick_cached || 'Failure' |
547 | 6 | 0 | $ip || '' |
6 | 0 | $user || '' | |
6 | 0 | $server || '' | |
6 | 0 | $real || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
360 | 0 | 0 | 0 | $msg ||= $self->app->config->quitmsg |
489 | 0 | 1 | 1 | not @nicks or grep {$_ eq $self->nick;} @nicks |