| blib/lib/AWS/SNS/Verify.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 14 | 71.4 |
| line | true | false | branch |
|---|---|---|---|
| 56 | 0 | 0 | if ($response->{'success'}) { } |
| 68 | 2 | 0 | if ($body->{'Type'} eq 'Notification') { } |
| 76 | 12 | 0 | if (exists $body->{$field}) |
| 92 | 1 | 1 | unless ($pk->verify_message($self->decode_signature, $self->generate_signature_string, 'SHA1', 'v1.5')) |
| 105 | 1 | 5 | unless $self->validate_signing_cert_url |
| 108 | 2 | 3 | unless ($url->can('host')) |
| 119 | 1 | 2 | unless ($host =~ /^ sns $dot $region $dot amazonaws $dot com(\.cn)? $/x) |