Branch Coverage

blib/lib/Net/SAML2/Binding/Redirect.pm
Criterion Covered Total %
branch 9 24 37.5


line true false branch
42 1 1 if defined $relaystate
47 0 2 if (exists $self->{'sig_hash'} and grep {$_ eq $self->{'sig_hash'};} 'sha224', 'sha256', 'sha384', 'sha512') { }
49 0 0 if ($self->{'sig_hash'} eq 'sha224') { }
0 0 elsif ($self->{'sig_hash'} eq 'sha256') { }
0 0 elsif ($self->{'sig_hash'} eq 'sha384') { }
0 0 elsif ($self->{'sig_hash'} eq 'sha512') { }
86 0 2 if ($sigalg eq 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256') { }
0 2 elsif ($sigalg eq 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha224') { }
0 2 elsif ($sigalg eq 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha384') { }
0 2 elsif ($sigalg eq 'http://www.w3.org/2001/04/xmldsig-more#rsa-sha512') { }
2 0 elsif ($sigalg eq 'http://www.w3.org/2000/09/xmldsig#rsa-sha1') { }
102 0 2 unless $rsa_pub->verify($signed, $sig)