Branch Coverage

blib/lib/Net/SAML2/Binding/Redirect.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
45 1 1 if defined $relaystate
50 0 2 if (exists $self->{'sig_hash'} and grep {$_ eq $self->{'sig_hash'};} 'sha224', 'sha256', 'sha384', 'sha512') { }
52 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') { }
94 0 2 if (defined $self->sls_double_encoded_response and $self->sls_double_encoded_response == 1) { }
108 0 2 if (defined $self->sls_force_lcase_url_encoding and $self->sls_force_lcase_url_encoding == 1)
115 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') { }
129 0 2 unless $rsa_pub->verify($signed, $sig)