Branch Coverage

blib/lib/Net/SAML2/SP.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
143 1 1 unless $self->has_encryption_key
153 0 7 unless $self->has_cert
197 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'} ? :
235 0 3 unless ($idp)
241 3 0 $self->authnreq_signed ? :
259 0 2 unless ($idp)
263 0 2 unless $param
265 1 1 $self->authnreq_signed ? :
296 1 0 $self->has_cacert ? :
310 2 0 $self->has_cacert ? :
331 6 1 unless ($error_uri->scheme)
335 1 6 $self->has_encryption_key ? :
7 0 defined $self->org_url ? :
389 0 1 unless $self->authnreq_signed or $self->want_assertions_signed or $self->sign_metadata
393 7 1 $use eq 'signing' ? :
410 9 3 $use eq 'signing' ? :
411 1 11 unless $key
433 1 6 unless $self->sign_metadata
453 4 0 unless $_->{'isDefault'} eq 1
455 1 2 if $default
458 1 1 if $default