Branch Coverage

blib/lib/Net/Amazon/SNS/Signature.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
45 0 1 unless my $signature = &MIME::Base64::decode_base64($message->{'Signature'})
48 1 0 $cert ? :
82 0 1 defined $args_ref->{'user_agent'} ? :
103 0 0 unless (defined $self->{'user_agent'})
113 2 4 if ($message->{'Type'} and $message->{'Type'} =~ /\A(?:Subscription|Unsubscribe)Confirmation\z/) { }
117 2 2 defined $message->{'Subject'} ? :