lib/Crypt/Perl/X/InvalidJWK.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 15 | 16 | 93.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Crypt::Perl::X::InvalidJWK; | ||||||
2 | |||||||
3 | 1 | 1 | 534 | use strict; | |||
1 | 3 | ||||||
1 | 31 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 29 | ||||||
5 | |||||||
6 | 1 | 1 | 5 | use parent 'Crypt::Perl::X::Base'; | |||
1 | 2 | ||||||
1 | 5 | ||||||
7 | |||||||
8 | sub new { | ||||||
9 | 1 | 1 | 0 | 5 | my ($class, @key_parts) = @_; | ||
10 | |||||||
11 | 1 | 11 | return $class->SUPER::new( "Invalid JWK: [@key_parts]", { jwk => { @key_parts } } ); | ||||
12 | } | ||||||
13 | |||||||
14 | 1; |