Branch Coverage

blib/lib/AnyEvent/IRC/Server.pm
Criterion Covered Total %
branch 24 58 41.3


line true false branch
30 109 0 unless $ENV{'AEIS_DEBUG'}
36 0 0 defined $_ ? :
0 0 ref $_ ? :
82 0 3 unless (defined $nick)
85 0 3 if ($self->nick2handle->{$nick})
111 0 5 unless ($chans)
122 0 6 unless $$handle{'nick'}
123 0 6 if $self->spoofed_nick->{$$handle{'nick'}}
133 0 6 unless $$handle{'nick'}
134 0 6 if $self->spoofed_nick->{$$handle{'nick'}}
143 0 0 unless ($chans)
155 0 2 unless ($chan)
158 2 0 if ($topic) { }
170 0 1 unless ($chan)
174 0 1 if ($nick eq '*')
183 0 0 unless ($msg)
199 0 0 unless ($self->channels->{$name})
232 4 0 if ($self->is_channel_name($chan)) { }
234 0 6 unless $$handle{'nick'}
235 3 3 if $$handle{'nick'} eq $nick
236 0 3 if $self->spoofed_nick->{$$handle{'nick'}}
243 0 0 if ($handle)
262 0 0 if (my $nick = $$handle{'nick'})
301 0 0 if $self->channels->{$chan}{'handles'}{$nick}
348 0 1 if ($chans) { }
350 0 0 if ($self->channels->{$chan})
423 14 33 defined $prefix ? :
428 42 5 if (@params >= 2)
436 40 7 defined $trail ? :