| line |
true |
false |
branch |
|
58
|
2 |
18 |
unless (ref $claims eq 'HASH') |
|
76
|
1 |
17 |
if ($algorithm ne 'none' and not defined $secret) |
|
99
|
1 |
19 |
unless (defined $jwt) |
|
106
|
10 |
9 |
unless defined $verify_signature |
|
107
|
1 |
18 |
if ($verify_signature and not defined $secret) |
|
115
|
2 |
16 |
unless (@$segments >= 2 and @$segments <= 4) |
|
129
|
11 |
4 |
if $$header{'alg'} ne 'none' and $verify_signature |
|
131
|
1 |
15 |
if (my $e = $@) |
|
138
|
1 |
14 |
unless $verify_signature |
|
141
|
1 |
13 |
if ($$header{'alg'} eq 'none' and not $accept_algorithm_none) |
|
148
|
2 |
11 |
if (ref $secret eq 'CODE') |
|
153
|
1 |
12 |
if ($algorithm eq 'none' and $crypto_segment) |
|
160
|
1 |
11 |
unless ($class->_verify($algorithm, $signature_input, $secret, $signature)) |
|
177
|
0 |
2 |
unless ($algorithm and $signing_class) |
|
188
|
3 |
14 |
if $algorithm eq 'none' |
|
196
|
1 |
11 |
if $algorithm eq 'none' |
|
205
|
14 |
11 |
if $alg_to_class{$algorithm} |
|
208
|
1 |
10 |
unless ($klass) |
|
215
|
1 |
9 |
$klass =~ s/^\+// ? : |
|
216
|
4 |
6 |
if $class_loaded{$signing_class} |
|
218
|
4 |
2 |
unless $class->_is_inner_package($signing_class) |
|
229
|
2 |
4 |
%{"${klass}::";} ? : |