Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
145 0 5 unless (defined $value and not $value =~ /^$/)
148 5 0 if ($value =~ /^(\S+)\s+(\S+)$/) { }
155 5 0 if ($type =~ /^(?:spam|ham)$/) { }
0 0 elsif ($type eq 'on') { }
0 0 elsif ($type eq 'off') { }
163 0 5 $tf ? :
0 5 $type eq 'ham' ? :
230 0 178 if $scan->{'lint_rules'}
233 7 171 if $self->{'am_compiling'}
236 171 0 unless $sctype
243 0 0 if ($sctype eq 'on') { }
245 0 0 $score < 0 ? :
246 0 0 $score < 0 ? :
250 0 0 if ($sctype eq 'ham') { }
271 0 0 if $rule
292 0 2106 exists $params->{'permsgstatus'}{'shortcircuit_type'} ? :