blib/lib/AWS/SNS/Verify.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 14 | 42.8 |
line | true | false | branch |
---|---|---|---|
56 | 0 | 0 | if ($response->{'success'}) { } |
68 | 0 | 0 | if ($body->{'Type'} eq 'Notification') { } |
76 | 0 | 0 | if (exists $body->{$field}) |
92 | 0 | 0 | unless ($rsa->verify($self->generate_signature_string, $self->decode_signature)) |
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) |