blib/lib/Net/SAML2/Protocol/Assertion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
50 | 3 | 0 | if ($xpath->findvalue('//saml:Conditions/@NotBefore')) { } |
59 | 3 | 0 | if ($xpath->findvalue('//saml:Conditions/@NotOnOrAfter')) { } |
94 | 0 | 8 | unless defined $audience |
95 | 1 | 7 | unless $audience eq $self->audience |
97 | 1 | 6 | unless not defined $in_response_to or $in_response_to eq $self->in_response_to |
104 | 2 | 4 | unless "DateTime"->compare($now, $self->not_before) > -1 |
105 | 1 | 3 | unless "DateTime"->compare($self->not_after, $now) > 0 |