Branch Coverage

blib/lib/AWS/SNS/Verify.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
55 0 0 if ($response->{'success'}) { }
67 2 0 if ($body->{'Type'} eq 'Notification') { }
75 12 0 if (exists $body->{$field})
91 1 1 unless ($pk->verify_message($self->decode_signature, $self->generate_signature_string, 'SHA1', 'v1.5'))
104 1 5 unless $self->validate_signing_cert_url
107 2 3 unless ($url->can('host'))
118 1 2 unless ($host =~ /^ sns $dot $region $dot amazonaws $dot com(\.cn)? $/x)