Branch Coverage

blib/lib/Circle/Net/IRC/Channel.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
47 0 0 if ($self->{'autojoin'} or $self->{'rejoin_on_connect'})
60 0 0 if $self->{'state'} == 2
71 0 0 unless ref $on_joined eq 'CODE'
73 0 0 unless $self->{'state'} == 0
118 0 0 unless ref $on_parted eq 'CODE'
120 0 0 unless $self->{'state'} == 2
126 0 0 defined $args{'message'} ? :
175 0 0 if length $mode->{$modechar}
195 0 0 $sense < 0 ? :
0 0 $sense > 0 ? :
199 0 0 if (not defined $type) { }
0 0 elsif ($type eq 'list') { }
0 0 elsif ($type eq 'occupant') { }
0 0 elsif ($type eq 'value') { }
0 0 elsif ($type eq 'bool') { }
211 0 0 if ($sense > 0) { }
226 0 0 if ($sense > 0) { }
234 0 0 if ($sense > 0) { }
243 0 0 if (@mode_added)
250 0 0 if (@mode_deleted)
254 0 0 if (@mode_added or @mode_deleted or not defined $self->get_prop_modestr)
270 0 0 unless (defined $occ->{'nick'})
274 0 0 unless (defined $occ->{'flag'})
279 0 0 $occ->{'flag'} =~ /^(.)/ ? :
284 0 0 if $irc->is_nick_me($occ->{'nick'})
292 0 0 if not defined $old_myflag or $old_myflag ne $myflag
304 0 0 if ($hints->{'prefix_is_me'}) { }
305 0 0 if ($self->{'state'} != 1)
345 0 0 unless defined $kickmsg
351 0 0 if ($irc->is_nick_me($kicked)) { }
379 0 0 if (defined $hints->{'prefix_nick'}) { }
410 0 0 unless my $occ = $self->get_prop_occupants->{$oldnick_folded}
438 0 0 unless defined $partmsg
445 0 0 if ($hints->{'prefix_is_me'}) { }
446 0 0 if ($self->{'state'} != 3)
477 0 0 unless $self->get_prop_occupants->{$nick_folded}
482 0 0 unless defined $quitmsg
648 0 0 if (length $topic) { }
667 0 0 if ($opts->{'flat'})
790 0 0 unless defined $message
859 0 0 unless $summary->{$_}