Branch Coverage

blib/lib/Alice/Role/IRCEvents.pm
Criterion Covered Total %
branch 9 30 30.0


line true false branch
38 78 0 if ($code)
39 4 74 if (ref $name eq 'ARRAY')
44 48 26 if $name =~ /^\d+$/
426 0 0 unless $irc
430 0 0 if ($interval < 15)
435 0 0 unless (defined $time)
447 0 0 unless $irc
449 0 0 if ($irc->reconnect_timer)
454 0 0 if $irc->is_disconnected
456 0 0 if $msg
466 0 0 unless $irc
483 0 1 unless $irc
484 0 1 if $irc->is_connected
485 0 1 if $irc->is_connecting
491 0 1 unless ($$config{'host'} and $$config{'port'})