| line |
true |
false |
branch |
|
58
|
2 |
22 |
unless (ref $claims eq 'HASH') |
|
76
|
1 |
21 |
if ($algorithm ne 'none' and not defined $secret) |
|
99
|
1 |
23 |
unless (defined $jwt) |
|
106
|
12 |
11 |
unless defined $is_verify |
|
107
|
1 |
22 |
if ($is_verify and not defined $secret) |
|
115
|
2 |
20 |
unless (@$segments >= 2 and @$segments <= 4) |
|
129
|
15 |
4 |
if $$header{'alg'} ne 'none' and $is_verify |
|
131
|
1 |
19 |
if (my $e = $@) |
|
138
|
1 |
18 |
unless $is_verify |
|
140
|
2 |
16 |
if (ref $secret eq 'CODE') |
|
145
|
1 |
17 |
if ($algorithm eq 'none' and $crypto_segment) |
|
152
|
1 |
16 |
unless ($class->_verify($algorithm, $signature_input, $secret, $signature)) |
|
169
|
0 |
2 |
unless ($algorithm and $signing_class) |
|
180
|
3 |
18 |
if $algorithm eq 'none' |
|
188
|
2 |
15 |
if $algorithm eq 'none' |
|
197
|
16 |
17 |
if $alg_to_class{$algorithm} |
|
200
|
1 |
16 |
unless ($klass) |
|
207
|
1 |
15 |
$klass =~ s/^\+// ? : |
|
208
|
8 |
8 |
if $class_loaded{$signing_class} |
|
210
|
6 |
2 |
unless $class->_is_inner_package($signing_class) |
|
221
|
2 |
6 |
%{"${klass}::";} ? : |