Branch Coverage

blib/lib/Net/SAML2/Protocol/AuthnRequest.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
156 73 23 unless $self->can($predicate) and $self->$predicate
159 1 22 if ($opt eq 'protocol_binding') { }
6 16 elsif (&any(sub {
163 3 3 $val ? :
172 22 2 unless $self->can($predicate) and $self->$predicate
191 11 1 unless $self->has_identity_providers
201 11 1 unless $self->has_nameid
208 8 4 unless $self->has_nameidpolicy_format
210 1 3 $self->has_nameid_allow_create ? :
227 10 1 unless @{$self->AuthnContextClassRef;} or @{$self->AuthnContextDeclRef;}