Branch Coverage

blib/lib/POE/Component/IRC/Plugin/MultiProxy/ClientManager.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
25 0 0 unless ($irc->isa('POE::Component::IRC::State'))
32 0 0 unless (grep {$_->isa($full);} values %{$irc->plugin_list;})
113 0 0 if ($$input{'command'} eq 'QUIT') { }
0 0 elsif ($$input{'command'} eq 'PING') { }
0 0 elsif ($$input{'command'} eq 'PRIVMSG') { }
0 0 elsif ($$input{'command'} eq 'WHO') { }
0 0 elsif ($$input{'command'} eq 'MODE') { }
0 0 elsif ($$input{'command'} eq 'NAMES') { }
0 0 elsif ($$input{'command'} eq 'TOPIC') { }
118 0 0 defined $$input{'params'}[0] ? :
123 0 0 if ($recipient =~ /^[#&+!]/)
129 0 0 if $other->ID == $wheel->ID
135 0 0 if ($$input{'params'}[0] and not $$input{'params'}[0] =~ tr/*//)
136 0 0 unless (defined $$input{'params'}[1])
137 0 0 if (not $$input{'params'}[0] =~ /^[#&+!]/ or $irc->channel_list($$input{'params'}[0]))
145 0 0 if ($$input{'params'}[0])
147 0 0 if (u_irc($$input{'params'}[0], $mapping) eq u_irc($irc->nick_name, $mapping)) { }
0 0 elsif ($$input{'params'}[0] =~ /^[#&+!]/ and $irc->channel_list($$input{'params'}[0])) { }
148 0 0 unless (defined $$input{'params'}[1])
154 0 0 if (not defined $$input{'params'}[1] or $$input{'params'}[1] =~ /^[eIb]$/)
162 0 0 if ($irc->channel_list($$input{'params'}[0]) and not defined $$input{'params'}[1])
168 0 0 if ($irc->channel_list($$input{'params'}[0]) and not defined $$input{'params'}[1])
183 0 0 if (delete $$self{'wheels'}{$wheel_id})
192 0 0 unless keys %{$$self{'wheels'};}
195 0 0 unless $$input{'command'} =~ /^(?:PING|PONG)/
202 0 0 unless defined $$self{'wheels'}{$wheel_id}