| lib/Mail/DMARC/PurePerl.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 33 | 59 | 55.9 | 
| line | l | !l | condition | 
|---|---|---|---|
| 407 | 10 | 0 | $matched++ and next | 
| 408 | 0 | 10 | $matched++ and next | 
| 409 | 6 | 0 | $matched++ and next | 
| 410 | 0 | 1 | $matched++ and next | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 54 | 4 | 4 | 0 | $self->is_subdomain && defined $policy->sp | 
| 98 | 0 | 0 | 5 | $pol and $self->has_valid_reporting_uri($pol->rua) | 
| 147 | 0 | 0 | 10 | $policy->p && $policy->is_valid_p($policy->p) | 
| 10 | 0 | 0 | defined $policy->sp and not $policy->is_valid_p($policy->sp) | |
| 157 | 0 | 0 | 0 | $policy->rua and $self->has_valid_reporting_uri($policy->rua) | 
| 224 | 7 | 0 | 8 | $policy->adkim and "s" eq lc $policy->adkim | 
| 276 | 6 | 2 | 8 | $self->policy->aspf and "s" eq lc $self->policy->aspf | 
| 296 | 0 | 0 | 5 | -f $white_file and -r $white_file | 
| 307 | 1 | 0 | 1 | $comment && $comment =~ /\S/ | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 37 | 9 | 4 | 1 | $policy ||= $self->discover_policy | 
| 115 | 0 | 11 | 0 | shift() || $self->header_from | 
| 147 | 0 | 0 | 10 | not $policy->p && $policy->is_valid_p($policy->p) or defined $policy->sp and not $policy->is_valid_p($policy->sp) | 
| 182 | 7 | 1 | 13 | "pass" eq $self->result->spf or "pass" eq $self->result->dkim | 
| 245 | 0 | 21 | 0 | $spf_dom or $self->spf | 
| 292 | 4 | 4 | 3 | shift() || $self->source_ip | 
| 350 | 91 | 17 | 0 | shift() || $self->header_from | 
| 390 | 3 | 15 | 0 | shift() || $self->header_from |