blib/lib/Net/SAML2/Role/VerifyXML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
31 | 1 | 9 | unless $x->verify($xml) |
33 | 1 | 4 | unless ($anchors or $cacert) |
37 | 0 | 8 | unless my $cert = $x->signer_cert |
40 | 4 | 4 | if ($cacert) |
48 | 4 | 4 | unless $anchors |
50 | 0 | 4 | if (ref $anchors ne "HASH") |
55 | 0 | 4 | if (&none(sub { |
61 | 2 | 2 | unless (ref $want) |
65 | 1 | 3 | if (&none(sub { |