Condition Coverage

blib/lib/Mail/SpamAssassin/Conf.pm
Criterion Covered Total %
condition 37 149 24.8


and 3 conditions

line !l l&&!r l&&r condition
225 0 0 1245 defined $value and not $value =~ /^$/
0 6 1239 defined $value and not $value =~ /^$/ and scalar @scores == 1 || scalar @scores == 4
245 1242 3 0 $relative and not exists $self->{'scoreset'}[0]{$rule}
399 0 0 0 defined $value and not $value =~ /^$/
415 0 0 0 defined $value and not $value =~ /^$/
481 0 0 0 defined $value and not $value =~ /^$/
652 0 0 0 defined $value and not $value =~ /^$/
895 0 0 0 defined $string and $string =~ /\S/
1239 0 0 0 defined $value and not $value =~ /^$/
1510 0 0 124 defined $value and not $value =~ /^$/
1665 0 0 1 $address =~ /$IP_ADDRESS/ and $port >= 1
0 0 1 $address =~ /$IP_ADDRESS/ and $port >= 1 and $port <= 65535
1954 0 0 0 defined $value and $value =~ s/^(allow|deny)\s+//i
1978 0 0 0 defined $value and $value ne ""
2106 0 0 0 /^(no)?(.+)\z/s and exists $all_kw{$2}
3644 0 0 1 defined $value and not $value =~ /^$/
3655 1 1 0 defined $_ and s/\s*([smhdw])\z//i
3687 0 0 10519 defined $value and not $value =~ /^$/
3711 0 0 36499 defined $value and not $value =~ /^$/
3735 0 0 3793 defined $value and not $value =~ /^$/
3791 0 0 62 defined $value and not $value =~ /^$/

or 2 conditions

line l !l condition
1903 0 0 $2 || 1220
2103 0 0 $self->{'bayes_token_sources'} ||= {}
4881 0 0 $tflags ||= ""
4909 0 0 $tflags ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
225 1056 189 0 scalar @scores == 1 || scalar @scores == 4
1012 0 250 62 $type eq "ham" or $type eq "all"
1017 62 250 0 $type eq "spam" or $type eq "all"
1053 0 0 0 $type eq "ham" or $type eq "all"
1057 0 0 0 $type eq "spam" or $type eq "all"
1087 0 62 0 not defined $value or $value eq ""
1137 62 0 0 $self->{'report_safe'} || grep({lc $_->[0] eq 'report';} @{$$self{'headers_spam'};})
1242 0 0 0 lc $value eq "yes" or $value eq 1
0 0 0 lc $value eq "no" or $value eq 0
1371 0 32 0 not defined $value or $value eq ""
1425 0 32 0 not defined $value or $value eq ""
1481 0 32 0 not defined $value or $value eq ""
1532 0 62 0 not defined $value or $value eq ""
1687 0 1 0 not defined $value or $value eq ""
1733 0 0 0 $1 < 1 or $1 > 65535
1736 0 0 0 $1 < 1 or $1 > 65535
1737 0 0 0 $2 < 1 or $2 > 65535
1773 0 0 0 $1 > 65535 or $2 > 65535
1811 0 0 0 not defined $value or $value eq ""
3760 0 79 0 not defined $value or $value eq ""
4479 0 92 0 ref $class || $class
4876 8 1 4 $type == $TYPE_HEAD_TESTS or $type == $TYPE_HEAD_EVALS
4902 0 0 4 $type == $TYPE_BODY_TESTS or $type == $TYPE_BODY_EVALS
0 4 0 $type == $TYPE_BODY_TESTS or $type == $TYPE_BODY_EVALS or $type == $TYPE_URI_TESTS
4 0 0 $type == $TYPE_BODY_TESTS or $type == $TYPE_BODY_EVALS or $type == $TYPE_URI_TESTS or $type == $TYPE_URI_EVALS
5063 0 0 2 $self->{'main'}{'keep_config_parsing_metadata'} || $self->{'allow_user_rules'}