Branch Coverage

blib/lib/Alice/IRC.pm
Criterion Covered Total %
branch 2 22 9.0


line true false branch
75 0 1 if $$config{'ssl'}
84 0 0 if $self->cl
110 1 0 $self->cl ? :
136 0 0 $mode ? :
144 0 0 if (my $prefix = $self->cl->map_mode_to_prefix($mode))
159 0 0 if ($realname =~ /$email_re/) { }
0 0 elsif ($realname =~ /$image_re/) { }
185 0 0 unless length encode($enc, $str) > $maxlen
194 0 0 if ($word =~ /\w\W$/ or length $str == 0 or length encode($enc, $word) >= $maxlen)
198 0 0 if (length encode($enc, $cur_out . $word) > $maxlen)
208 0 0 if length $cur_out