lib/Mail/DMARC/Report/Store/SQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 53 | 41.5 |
line | l | !l | condition |
---|---|---|---|
163 | 0 | 48 | $r and scalar @$r |
176 | 0 | 12 | $r and scalar @$r |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
237 | 4 | 0 | 0 | $args{'searchField'} and $known{$args{'searchField'}} |
247 | 4 | 0 | 0 | $args{'sidx'} and $known{$args{'sidx'}} |
410 | 0 | 0 | 2 | $reason and $reason->{'type'} |
425 | 0 | 0 | 5 | $sig and $sig->{'domain'} |
524 | 10 | 0 | 621 | $self->{'grammar'} and $self->{'dbix'} |
line | l | !l | condition |
---|---|---|---|
286 | 6 | 0 | $pp->{'p'} ||= "none" |
445 | 7 | 1 | $comment || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
346 | 0 | 6 | 0 | $ident{$key}{'header_from'} ||= $rec->{'header_from'} |
347 | 0 | 6 | 0 | $ident{$key}{'envelope_from'} ||= $rec->{'envelope_from'} |
348 | 0 | 6 | 0 | $ident{$key}{'envelope_to'} ||= $rec->{'envelope_to'} |
350 | 0 | 6 | 0 | $pe{$key}{'disposition'} ||= $rec->{'disposition'} |
351 | 0 | 6 | 0 | $pe{$key}{'dkim'} ||= $rec->{'dkim'} |
352 | 0 | 6 | 0 | $pe{$key}{'spf'} ||= $rec->{'spf'} |
354 | 0 | 6 | 0 | $auth{$key}{'spf'} ||= $self->get_row_spf($rec->{'id'}) |
355 | 0 | 6 | 0 | $auth{$key}{'dkim'} ||= $self->get_row_dkim($rec->{'id'}) |
536 | 0 | 0 | 10 | not $db or $db eq ":memory:" |
0 | 6 | 4 | not $db or $db eq ":memory:" or not -e $db |