Branch Coverage

blib/lib/Mail/SpamAssassin/PluginHandler.pm
Criterion Covered Total %
branch 21 42 50.0


line true false branch
78 0 5232 unless ($package =~ /^(?:\w+::){0,10}\w+$/)
88 2832 79866 if (ref $old_plugin eq $package)
95 0 2400 if ($path) { }
96 0 0 unless ($path =~ /^\S+\.pm/i)
127 0 2400 unless ($ret)
128 0 0 if ($silent) { }
129 0 0 if ($@) { }
0 0 elsif ($!) { }
133 0 0 if ($@) { }
0 0 elsif ($!) { }
141 0 2400 if ($@ or not $plugin)
145 2400 0 if ($plugin)
170 1250 573 unless (exists $self->{'cbs'}{$subname})
177 1023 35697 if (defined $methodref)
204 1168 4413 unless (exists $self->{'cbs'}{$subname})
205 532 636 unless $self->have_callback($subname)
216 0 4873 unless (eval {
217 0 0 $@ ne '' ? :
221 4444 429 if (defined $ret)
224 4215 229 if $ret or not defined $overallret
227 0 4873 if ($plugin->{'_inhibit_further_callbacks'})