Condition Coverage

blib/lib/Mail/SpamAssassin/Plugin/ASN.pm
Criterion Covered Total %
condition 2 56 3.5


and 3 conditions

line !l l&&!r l&&r condition
213 0 0 0 defined $value and not $value =~ /^$/
233 0 0 0 defined $value and not $value =~ /^$/
254 0 0 0 defined $value and $value ne ''
391 0 0 0 defined $prefix and $prefix ne ''
418 0 0 0 @strings > 1 and not join('', @strings) =~ /\|/
421 0 0 0 @items >= 3 and not $items[1] =~ m[/]
0 0 0 @items >= 3 and not $items[1] =~ m[/] and $items[2] =~ /^\d+\z/
430 0 0 0 @items and $items[0] =~ /(?: (?:^|\s+) (?:AS)? \d+ )+ \z/six
0 0 0 @items > 1 and $items[1] =~ /(?: (?:^|\s+) (?:AS)? \d+ )+ \z/six
473 0 0 0 $any_asn_updates and @asn_tag_data
476 0 0 0 defined $prefix and $prefix ne ''
480 0 0 0 $any_route_updates and @route_tag_data

or 2 conditions

line l !l condition
301 0 0 $pms->{'tag_data'}{$entry->{'asn_tag'}} ||= ''
302 0 0 $pms->{'tag_data'}{$entry->{'route_tag'}} ||= ''
307 0 0 $pms->{'tag_data'}{$entry->{'asn_tag'}} ||= ''
308 0 0 $pms->{'tag_data'}{$entry->{'route_tag'}} ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
135 0 60 0 ref $class || $class
291 0 0 4 $conf->{'asnlookups'} or $conf->{'asnlookups_ipv6'}
444 0 0 0 not defined $route or $route eq ''
460 0 0 0 not $asn or $asn == 4294967295