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 44 37 0 ($h->{'__HAS_MSGID'} || 0) && !($h->{'__SANE_MSGID'} || 0 || ($h->{'__MSGID_COMMENT'} || 0))
76 5 0 ($h->{'DKIM_SIGNED'} || 0) && !($h->{'DKIM_VALID'} || 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")
879 28 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . "_body_test")
939 8 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . "_uri_test")
1002 0 0 0 $opts{'doing_user_rules'} and not $self->is_user_rule_sub($rulename . "_rawbody_test")
1087 0 324 0 $master_deadline and &Mail::SpamAssassin::Plugin::Check::time() > $master_deadline
1115 198 0 126 defined &{"${package_name}::$methodname";} and not $doing_user_rules
1125 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
1279 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
1356 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->{$_} || ''
763 0 64 $conf->{'tflags'}{$rulename} || ''
818 8 20 $conf->{'tflags'}{$rulename} || ''
824 8 20 0 $conf->{'tflags'}{$rulename} || ''
828 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
903 0 8 0 $conf->{'tflags'}{$rulename} || ''
905 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
963 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
967 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
1027 0 0 0 $pms->{'conf'}{'tflags'}{$rulename} || ''
1029 0 0 0 $max ||= 0
1356 8 28 $pms->{'conf'}{'tflags'}{$rulename} || ''

or 3 conditions

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