Branch Coverage

blib/lib/Mail/SpamAssassin/PluginHandler.pm
Criterion Covered Total %
branch 20 38 52.6


line true false branch
81 2887 61157 if (ref $old_plugin eq $package)
88 0 1793 if ($path) { }
113 0 1793 unless ($ret)
114 0 0 if ($silent) { }
115 0 0 if ($@) { }
0 0 elsif ($!) { }
119 0 0 if ($@) { }
0 0 elsif ($!) { }
127 0 1793 if ($@ or not $plugin)
131 1793 0 if ($plugin)
156 1178 466 unless (exists $self->{'cbs'}{$subname})
163 555 26673 if (defined $methodref)
190 1096 4318 unless (exists $self->{'cbs'}{$subname})
191 644 452 unless $self->have_callback($subname)
202 0 2000 unless (eval { do { $ret = &$methodref($plugin, @_); 1 } })
203 0 0 $@ ne '' ? :
207 1905 95 if (defined $ret)
210 1802 103 if $ret or not defined $overallret
213 0 2000 if ($plugin->{'_inhibit_further_callbacks'})