Branch Coverage

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


line true false branch
21 0 0 unless ($self{'Mode'} and $self{'Mode'} =~ /missed|all|none/)
30 0 0 unless ($irc->isa('POE::Component::IRC::State'))
34 0 0 unless (grep {$_->isa('POE::Component::IRC::Plugin::BotTraffic');} values %{$irc->plugin_list;})
45 0 0 if $$self{'Mode'} =~ /all|missed/
63 0 0 if ($cmd eq 'ACK')
64 0 0 ${$_[1];} eq '*' ? :
67 0 0 if (grep {$_ =~ /^=?identify-msg$/;} @enabled)
70 0 0 if (grep {$_ =~ /^-identify-msg$/;} @enabled)
82 0 0 if ($$self{'Mode'} eq 'all')
95 0 0 if ($$self{'Mode'} eq 'all')
119 0 0 if ($recipient eq $irc->nick_name) { }
0 0 elsif ($$self{'Mode'} eq 'all' or $$self{'Mode'} eq 'missed' and not $$self{'clients'}) { }
121 0 0 unless ($$self{'clients'})
141 0 0 if $$self{'clients'}
152 0 0 if (my $cycle = grep({$_->isa('POE::Component::IRC::Plugin::CycleEmpty');} values %{$irc->plugin_list;}))
153 0 0 if $cycle->cycling($chan)
184 0 0 if ($$self{'Mode'} eq 'all' or $$self{'Mode'} eq 'missed' and not $$self{'clients'})
200 0 0 if $$self{'clients'}
202 0 0 if $$self{'Mode'} =~ /^(?:missed|none)$/
204 0 0 if ($$self{'Mode'} eq 'missed') { }
0 0 elsif ($$self{'Mode'} eq 'all') { }
219 0 0 if ($$self{'stashing'})
221 0 0 if ($$input{'command'} =~ /\d{3}/)
225 0 0 if ($$input{'command'} =~ /376|422/)
230 0 0 if ($$self{'Mode'} eq 'all' or $$self{'Mode'} eq 'missed' and not $$self{'clients'})
231 0 0 if ($$input{'command'} eq 'MODE' and $$input{'params'}[1] =~ /^[#&+!]/) { }
0 0 elsif ($$input{'command'} =~ /JOIN|KICK|PART|QUIT|NICK|TOPIC/) { }
0 0 elsif ($$input{'command'} eq '353') { }
0 0 elsif ($$input{'command'} =~ /332|333|366/) { }
241 0 0 if $$self{'state'}->is_syncing($$input{'params'}[2])
245 0 0 if $$self{'state'}->is_syncing($$input{'params'}[1])
263 0 0 if keys %{$irc->channel_topic($chan);}
282 0 0 if $irc->umode
284 0 0 if $$self{'idmsg'}
286 0 0 if ($$self{'Mode'} eq 'all' and $#{$$self{'recall'};} > $$self{'last_detach'}) { }
0 0 elsif ($$self{'Mode'} eq 'none') { }
290 0 0 if ($$in{'command'} eq 'PRIVMSG' and not $$in{'params'}[0] =~ /^[#&+!]/)