Branch Coverage

blib/lib/POE/Component/IRC/Plugin/PlugMan.pm
Criterion Covered Total %
branch 27 56 48.2


line true false branch
16 0 5 if $] < "5.008007"
21 0 4 if @_ & 1
40 2 0 $self->load(@cmd) ? :
45 1 0 $self->unload(@cmd) ? :
50 2 0 $self->reload(@cmd) ? :
56 0 0 @aliases ? :
64 0 0 @aliases ? :
88 1 5 unless $command and $self->_authed($who, $channel)
93 5 0 if (defined $self->{'commands'}{$cmd})
109 0 0 unless $self->_authed($who, $channel)
111 0 0 if (defined $self->{'commands'}{$cmd})
124 0 7 unless $desc and $plugin
128 6 1 if (not ref $plugin) { }
129 6 0 unless $module =~ /\.pm$/
133 0 6 if ($@)
141 0 6 unless $object
152 7 0 if ($return) { }
166 0 6 unless $desc
169 0 6 unless $plugin
184 0 48 if $@
193 0 3 unless defined $desc
196 0 3 unless $plugin_state
197 0 3 if $self->{'debug'}
198 0 3 unless $self->unload($desc)
200 0 3 if $self->{'debug'}
201 0 3 unless $self->load($desc, $plugin_state->{'plugin'}, @{$$plugin_state{"args"};})
213 3 3 if $self->{'auth_sub'}
214 3 0 if matches_mask($self->{'botowner'}, $who)