| blib/lib/Net/SAML2/Role/VerifyXML.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 18 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 1 | 12 | unless $x->verify($xml) |
| 33 | 2 | 5 | unless $anchors or $cacert |
| 35 | 0 | 10 | unless my $cert = $x->signer_cert |
| 38 | 5 | 5 | if ($cacert) |
| 46 | 5 | 5 | unless $anchors |
| 48 | 0 | 5 | if (ref $anchors ne "HASH") |
| 53 | 0 | 5 | if (&none(sub { |
| 59 | 3 | 2 | unless (ref $want) |
| 63 | 1 | 4 | if (&none(sub { |