Branch Coverage

blib/lib/App/Alice/Window.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
106 0 9 ref $_[0] ? :
128 4 0 unless utf8::is_utf8($self->irc->nick)
134 9 1 $self->is_channel ? :
193 2 0 unless utf8::is_utf8($body)
197 0 2 $monospace ? :
201 1 1 $nick eq $self->buffer->previous_nick ? :
214 2 0 unless ($$message{'self'})
224 0 0 unless utf8::is_utf8($msg) or ref $msg eq 'Text::MicroTemplate::EncodedString'
250 0 0 if ($avatars)
264 0 0 unless @$nicks
268 0 0 if $length > $maxlen
274 0 0 if (@row >= $cols)
279 0 0 if @row
295 9 18 if ($self->type eq 'info')