Branch Coverage

blib/lib/App/Alice.pm
Criterion Covered Total %
branch 16 62 25.8


line true false branch
137 0 11 if $_[0]->config->show_debug
195 6 9 if (exists $options{$_})
217 0 0 if $self->standalone
223 0 0 if ($self->standalone)
244 0 0 if ($self->connected_ircs) { }
245 0 0 if $self->standalone
264 0 0 if $$self{'shutdown_timer'}
265 0 0 if $$self{'on_shutdown'}
266 0 0 if $self->condvar
282 0 0 unless (exists $self->config->servers->{$$newserver{'name'}})
295 0 0 if (my $window = $self->get_window($$window_ids[$count]))
296 0 0 unless $window->is_channel and $self->config->servers->{$window->irc->alias}
312 0 24 if $title eq 'info'
314 18 6 if (my $window = $self->get_window($id))
321 0 0 unless $message
349 0 7 if $title eq 'info'
350 3 4 if (my $window = $self->find_window($title, $connection)) { }
361 1 0 if ($self->config->order)
373 0 2 if $self->httpd->stream_count
375 2 0 if $window->type ne 'info'
394 0 0 if ($new_config)
401 0 0 if (not $self->has_irc($network)) { }
407 0 0 if ($$config{'ircname'} ne $prev{$network})
414 0 0 unless ($self->config->servers->{$irc->alias})
435 0 22 if ($self->config->alerts and $self->notifier and not $self->httpd->stream_count)
437 0 0 if not $$message{'window'} or $$message{'window'}{'type'} eq 'info'
438 0 0 if $$message{'highlight'}
452 0 2 if $body =~ /\b$highlight\b/i
460 0 2 if $_ eq $nick
468 1 0 if $nick eq $_
502 0 0 if ($self->auth_enabled)