| lib/Sisimai/Reason/SpamDetected.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 73 | 63 | 1335 | if grep {rindex($argv1, $_) != -1;} @$index |
| 74 | 42 | 1293 | if grep {"Sisimai::String"->aligned(\$argv1, $_);} @$pairs |
| 86 | 464 | 1213 | unless $argvs->{'deliverystatus'} |
| 88 | 1 | 1212 | if $argvs->{'reason'} eq "spamdetected" |
| 89 | 0 | 1212 | if ('Sisimai::SMTP::Status'->name($argvs->{'deliverystatus'}) || '') eq "spamdetected" |
| 94 | 394 | 818 | if grep {$argvs->{'command'} eq $_;} @{"Sisimai::SMTP::Command"->ExceptDATA} |