blib/lib/JSON/WebToken/Crypt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 10 | 60.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 4 | 50.0 |
pod | 0 | 2 | 0.0 |
total | 8 | 16 | 50.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package JSON::WebToken::Crypt; | ||||||
2 | |||||||
3 | 6 | 6 | 3702 | use strict; | |||
6 | 14 | ||||||
6 | 186 | ||||||
4 | 6 | 6 | 32 | use warnings; | |||
6 | 9 | ||||||
6 | 667 | ||||||
5 | |||||||
6 | sub sign { | ||||||
7 | 0 | 0 | 0 | my ($class, $algorithm, $message, $key) = @_; | |||
8 | 0 | die 'sign method must be implements!'; | |||||
9 | } | ||||||
10 | |||||||
11 | sub verify { | ||||||
12 | 0 | 0 | 0 | my ($class, $algorithm, $message, $key, $signature) = @_; | |||
13 | 0 | die 'verify method must be implements!' | |||||
14 | } | ||||||
15 | |||||||
16 | 1; | ||||||
17 | __END__ |