| lib/Sisimai/Lhost/AmazonSES.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 50 | 52.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 136 | 0 | 0 | 10 | exists $$bouncetype{$o->{'bounceType'}} and exists $$bouncetype{$o->{'bounceType'}}{$o->{'bounceSubType'}} |
| line | l | !l | condition |
|---|---|---|---|
| 17 | 531 | 1 | shift() // (return undef) |
| 18 | 531 | 0 | shift() // (return undef) |
| 98 | 15 | 0 | $$o{$$labeltable{$p->{'notificationType'}}} || [] |
| 148 | 5 | 0 | $o->{'complaintFeedbackType'} || '' |
| 155 | 10 | 0 | $o->{'recipients'} || [] |
| 177 | 10 | 0 | $o->{'reportingMTA'} || '' |
| 178 | 10 | 0 | $o->{'smtpResponse'} || '' |
| 179 | 10 | 0 | 'Sisimai::SMTP::Status'->find($v->{'diagnosis'}) || '' |
| 180 | 10 | 0 | 'Sisimai::SMTP::Reply'->find($v->{'diagnosis'}) || '' |
| 213 | 63 | 443 | $mhead->{'x-mailer'} || '' |
| 221 | 0 | 16 | $match ||= 1 |
| 222 | 0 | 113 | $match ||= 1 |
| 296 | 0 | 0 | $permessage->{$_} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 95 | 10 | 5 | 10 | $p->{'notificationType'} eq "Bounce" or $p->{'notificationType'} eq "Complaint" |
| 150 | 15 | 0 | 0 | $o->{'timestamp'} || $p->{'mail'}{'timestamp'} |
| 183 | 10 | 0 | 0 | $o->{'timestamp'} || $p->{'mail'}{'timestamp'} |
| 237 | 16 | 66 | 2216 | index($e, $startingof->{'message'}[0]) == 0 or index($e, $startingof->{'message'}[1]) == 0 |
| 295 | 0 | 82 | 0 | $e->{'lhost'} ||= $permessage->{'rhost'} |
| 296 | 82 | 0 | 0 | $e->{$_} ||= $permessage->{$_} || '' |
| 305 | 22 | 0 | 0 | 'Sisimai::SMTP::Status'->find($errormessage) || $e->{'status'} |