Condition Coverage

blib/lib/Mail/Milter/Authentication/Handler.pm
Criterion Covered Total %
condition 48 69 69.5


and 3 conditions

line !l l&&!r l&&r condition
349 8 4 4 $helo_host and exists $mapped_to->{'helo_map'}
4 2 2 $helo_host and exists $mapped_to->{'helo_map'} and exists $mapped_to->{'helo_map'}{$helo_host}
1270 0 0 2 $rcode =~ /^[5]\d\d$/ && $xcode =~ /^[5]\.\d+\.\d+$/
1291 0 0 0 $rcode =~ /^[4]\d\d$/ && $xcode =~ /^[4]\.\d+\.\d+$/
1592 919 115 4 $Type == 2 and defined $Email
117 897 20 $Type == 1 and defined $Email
1614 643 31 0 $i + 1 < scalar @Tokens and $Types[$i + 1] == 2
1705 1134 23567 0 $priority == 7 and not $config->{'debug'}
1769 1128 23450 0 $priority eq 'debug' and not $config->{'debug'}

or 2 conditions

line l !l condition
183 49 0 $exception->{'Type'} || 'Unknown'
340 16 192 $ip_object->overlaps($map_obj) || 0
1183 0 123 $config->{'dns_timeout'} || 8
1184 0 123 $config->{'dns_retry'} || 2
1185 6 117 $config->{'dns_resolvers'} || []
1350 39481 24445 $top_handler->{'symbols'} || {}
1700 9795 14906 $self->get_symbol('i') || '--'
1732 24701 0 $key || ''
21418 3283 $value || ''

or 3 conditions

line l !l&&r !l&&!r condition
341 12 0 196 $is_overlap == $Mail::Milter::Authentication::Handler::IP_A_IN_B_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::IP_B_IN_A_OVERLAP
12 0 196 $is_overlap == $Mail::Milter::Authentication::Handler::IP_A_IN_B_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::IP_B_IN_A_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::IP_PARTIAL_OVERLAP
0 4 192 $is_overlap == $Mail::Milter::Authentication::Handler::IP_A_IN_B_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::IP_B_IN_A_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::IP_PARTIAL_OVERLAP or $is_overlap == $Mail::Milter::Authentication::Handler::IP_IDENTICAL
1270 0 0 2 not $rcode =~ /^[5]\d\d$/ && $xcode =~ /^[5]\.\d+\.\d+$/ or substr($rcode, 0, 1) ne substr($xcode, 0, 1)
1291 0 0 0 not $rcode =~ /^[4]\d\d$/ && $xcode =~ /^[4]\.\d+\.\d+$/ or substr($rcode, 0, 1) ne substr($xcode, 0, 1)
1592 16 4 1034 $Type == 0 or $Type == 2 and defined $Email
4 20 1014 $Type == 0 or $Type == 2 and defined $Email or $Type == 1 and defined $Email
1759 10040 509 0 $self->get_symbol('i') || 'NOQUEUE.' . substr(uc md5_hex("Authentication Milter Client $Mail::Milter::Authentication::Handler::PID " . time . rand(100)), -11)