Branch Coverage

blib/lib/Bot/Cobalt/Plugin/Extras/Relay.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
13 0 0 unless $context and $channel
22 0 0 unless exists $self->{'Relays'}{$context}
24 0 0 unless @$relays
25 0 0 wantarray ? :
31 0 0 unless $ref and ref $ref eq 'HASH'
62 0 0 if (not ref $relays && &reftype($relays) eq 'ARRAY') { }
115 0 0 unless scalar keys %{$$self{'Relays'}{$context};}
119 0 0 unless @relays
124 0 0 if (@pending > 5) { }
170 0 0 unless scalar keys %{$$self{'Relays'}{$context};}
173 0 0 unless @relays
178 0 0 if (@pending > 5) { }
215 0 0 unless @relays
219 0 0 if ($msg->cmd)
221 0 0 if $msg->cmd and grep {$_ eq $msg->cmd;} @handled
251 0 0 unless @relays
278 0 0 unless $self->get_relays($context, $channel)
284 0 0 unless grep {$_ eq $src_nick;} @{$self->{'JoinQueue'}{$context}{$channel} // [];}
296 0 0 unless $self->get_relays($context, $channel)
302 0 0 unless grep {$_ eq $src_nick;} @{$self->{'LeftQueue'}{$context}{$channel} // [];}
315 0 0 unless @relays
343 0 0 unless $self->{'Relays'}{$context}
352 0 0 unless @relays
359 0 0 unless grep {$_ eq $src_nick;} @{$self->{'LeftQueue'}{$context}{$channel} // [];}
372 0 0 if $nchg->equal
375 0 0 unless $self->{'Relays'}{$context}
383 0 0 unless @relays
407 0 0 unless (@relays)
436 0 0 unless ($remotenet and $remoteuser)
446 0 0 unless ($self->get_relays($context, $channel))
456 0 0 unless ($self->{'Relays'}{$remotenet} and ref $irc_obj)
467 0 0 if (not $nickinfo) { }