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 | 4 | 4 | 1499 | use strict; | |||
4 | 6 | ||||||
4 | 117 | ||||||
4 | 4 | 4 | 14 | use warnings; | |||
4 | 5 | ||||||
4 | 288 | ||||||
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__ |