Branch Coverage

blib/lib/Bot/Cobalt/IRC/Role/AdminCmds.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
20 0 0 unless $core->auth->has_flag($context, $src_nick, 'SUPERUSER')
25 0 0 unless ($self->can($meth))
62 0 0 unless (ref $pcfg and &reftype($pcfg) eq 'HASH' and keys %$pcfg)
70 0 0 unless (defined $target_ctxt)
76 0 0 unless ($pcfg->{'Networks'}{$target_ctxt})
83 0 0 if (my $ctxt_obj = &irc_context($target_ctxt))
84 0 0 if ($ctxt_obj->connected)
116 0 0 unless (defined $target_ctxt)
123 0 0 unless ($ctxt_obj = &irc_context($target_ctxt))
129 0 0 unless (keys %{core()->Servers;} > 1)
161 0 0 unless ($ctxt_obj = &irc_context($context) && $ctxt_obj->connected)