Branch Coverage

blib/lib/Net/SAML2/SP.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
147 1 1 unless $self->has_encryption_key
157 0 7 unless $self->has_cert
201 3 0 NonEmptySimpleStr()->check($nameid_format) ? :
1 2 defined $params->{'sp_name_qualifier'} ? :
1 2 defined $params->{'name_qualifier'} ? :
0 3 defined $params->{'include_name_qualifier'} ? :
239 0 3 unless ($idp)
245 3 0 $self->authnreq_signed ? :
263 0 2 unless ($idp)
267 0 2 unless $param
269 1 1 $self->authnreq_signed ? :
300 1 0 $self->has_cacert ? :
314 2 0 $self->has_cacert ? :
335 6 1 unless ($error_uri->scheme)
339 1 6 $self->has_encryption_key ? :
7 0 defined $self->org_url ? :
393 0 1 unless $self->authnreq_signed or $self->want_assertions_signed or $self->sign_metadata
397 7 1 $use eq 'signing' ? :
414 9 3 $use eq 'signing' ? :
415 1 11 unless $key
437 1 6 unless $self->sign_metadata
457 2 0 unless $_->{'isDefault'} eq 1