Branch Coverage

blib/lib/SpamMonkey.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
75 0 0 if (-e $file)
81 0 0 unless (exists $$self{'conf'}{'score'}{$_} and $$self{'conf'}{'score'}{$_}[0])
103 0 0 if (not ref $text) { }
0 0 elsif (UNIVERSAL::isa($text, 'Email::MIME')) { }
133 0 0 if ($$body_r) { }
146 0 0 if ($$rule{'op'} eq 'eval')
152 0 0 if ($$rule{'header'} eq 'ALL')
156 0 0 if ($$rule{'unset'} and not $text)
158 0 0 unless $text
159 0 0 if ($$rule{'op'} eq 'exists') { }
0 0 elsif ($$rule{'op'} eq '!~') { }
160 0 0 if $text
162 0 0 unless ($text =~ /$$rule{'re'}/)
164 0 0 if ($text =~ /$$rule{'re'}/)
174 0 0 if (ref $rule eq 'HASH') { }
178 0 0 if ($$text =~ /$rule/)
185 0 0 if $$self{'per_message'}{'uris'}
206 0 0 if ($uri =~ /$rule/)
219 0 0 unless my($pack, $args) = $$rule{'code'} =~ /(\S+)\((.*)\)$/
222 0 0 unless $pack->require
223 0 0 if (not $$self{'init'}{$pack} and $pack->can('init'))