Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/Check.pm
Criterion Covered Total %
condition 44 110 40.0


and 3 conditions

line !l l&&!r l&&r condition
57 47 49 0 ref $suppl_attrib and ref $suppl_attrib->{'rule_hits'}
101 0 258 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
121 96 81 81 $priority >= 500 and $needs_dnsbl_harvest_p
177 0 81 $priority >= 500 and $needs_dnsbl_harvest_p and not $self->{'main'}->call_plugins('have_shortcircuited', {'permsgstatus', $pms})
216 0 96 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
295 0 1548 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
418 1548 0 0 $t->timed_out and $master_deadline
1548 0 0 $t->timed_out and $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
463 49 32 0 ($h->{'DKIM_SIGNED'} || 0) && !($h->{'DKIM_VALID'} || 0)
71 10 0 ($h->{'__HAS_MSGID'} || 0) && !($h->{'__SANE_MSGID'} || 0 || ($h->{'__MSGID_COMMENT'} || 0))
494 0 150 124 defined $str and $str ne ''
594 0 0 0 ($conf->get_score_set & 1) == 0 and ($conf->{'tflags'}{$token} || '') =~ /\bnet\b/
631 17 8 0 $#metas != $count and $#metas > -1
723 72 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_head_test')
878 28 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_body_test')
938 8 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_uri_test')
1001 0 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . '_rawbody_test')
1086 0 324 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
1114 198 0 126 defined &{"${package_name}::$methodname";} and not $doing_user_rules
1124 126 0 0 $t->timed_out and $master_deadline
126 0 0 $t->timed_out and $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
1278 121 0 0 $t->timed_out and $master_deadline
121 0 0 $t->timed_out and $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
1355 72 0 36 $loop_break_directive and not +($pms->{'conf'}{'tflags'}{$rulename} || '') =~ /\bmultiple\b/

or 2 conditions

line l !l condition
594 0 0 0 $conf->{'tflags'}{$token} || ''
647 0 40 $tflags->{$_} || ''
762 0 64 $conf->{'tflags'}{$rulename} || ''
817 8 20 $conf->{'tflags'}{$rulename} || ''
823 8 20 0 $conf->{'tflags'}{$rulename} || ''
827 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
902 0 8 0 $conf->{'tflags'}{$rulename} || ''
904 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
962 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
966 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
1026 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
1028 0 0 0 $max ||= 0
1355 8 28 $pms->{'conf'}{'tflags'}{$rulename} || ''

or 3 conditions

line l !l&&r !l&&!r condition
42 0 77 0 ref $class || $class
320 150 0 1398 not defined &{$methodname;} or $doing_user_rules