Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/Check.pm
Criterion Covered Total %
condition 46 113 40.7


and 3 conditions

line !l l&&!r l&&r condition
54 47 49 0 ref $suppl_attrib and ref $suppl_attrib->{'rule_hits'}
98 0 250 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
118 96 77 77 $priority >= 500 and $needs_dnsbl_harvest_p
173 0 77 $priority >= 500 and $needs_dnsbl_harvest_p and not $self->{'main'}->call_plugins('have_shortcircuited', {'permsgstatus', $pms})
213 0 96 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
288 0 1500 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
410 1500 0 0 $t->timed_out and $master_deadline
1500 0 0 $t->timed_out and $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
455 39 44 0 ($h->{'__HAS_MSGID'} || 0) && !($h->{'__SANE_MSGID'} || 0 || ($h->{'__MSGID_COMMENT'} || 0))
486 0 132 102 defined $str and $str ne ''
564 1 0 0 ($conf->get_score_set & 1) == 0 and ($conf->{'tflags'}{$token} || '') =~ /\bnet\b/
598 15 7 0 $#metas != $count and $#metas > -1
696 63 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_head_test')
882 25 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_body_test')
959 7 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_uri_test')
1039 0 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_rawbody_test')
1130 1 308 3 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
1158 159 0 152 defined &{"${package_name}::$methodname";} and not $doing_user_rules
1168 155 0 0 $t->timed_out and $master_deadline
153 0 0 $t->timed_out and $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
1329 157 0 0 $t->timed_out and $master_deadline
156 0 0 $t->timed_out and $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline

or 2 conditions

line l !l condition
564 0 0 0 $conf->{'tflags'}{$token} || ''
614 0 0 $tflags->{$_} || ''
0 21 0 $tflags->{$_} || ''
775 0 56 $conf->{'tflags'}{$rulename} || ''
782 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
830 7 18 $conf->{'tflags'}{$rulename} || ''
834 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
912 0 7 $conf->{'tflags'}{$rulename} || ''
914 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
989 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
993 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
1070 0 4 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
1406 7 88 $pms->{'conf'}{'tflags'}{$rulename} || ''

or 3 conditions

line l !l&&r !l&&!r condition
39 0 78 0 ref $class || $class
313 138 0 1362 not defined &{$methodname;} or $doing_user_rules
548 35 0 21 $token =~ tr[0-9A-Z_a-z](\000-/:-@[-^`{-\377)c or substr($token, 0, 1) =~ tr/A-Z_a-z/\000-@[-^`{-\377/c
709 0 0 0 $op eq '=~' or $op eq '!~'
775 42 14 0 $op eq '=~' || $op eq '!~'