blib/lib/Plack/Auth/SSO/ResponseParser/ORCID.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 22 | 54.5 |
line | true | false | branch |
---|---|---|---|
30 | 0 | 23 | unless exists $hash->{$key} |
31 | 11 | 12 | if scalar @keys == 0 |
33 | 0 | 12 | unless is_hash_ref($hash) |
43 | 1 | 0 | if (is_string($obj)) { } |
54 | 1 | 0 | if (is_string($obj2)) { } |
71 | 0 | 1 | unless dig($obj2, 'other-names', 'other-name') |
73 | 0 | 1 | unless dig($obj2, 'addresses', 'address') |
74 | 1 | 0 | if $_->{'verified'} |
0 | 1 | unless dig($obj2, 'emails', 'email') | |
75 | 0 | 1 | unless dig($obj2, 'researcher-urls', 'researcher-url') |
80 | 0 | 1 | unless dig($obj2, 'external-identifiers', 'external-identifier') |