Branch Coverage

blib/lib/OIDC/Lite/Model/IDToken.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
62 1 18 @_ == 1 ? :
74 2 17 unless ($self->header)
78 2 17 unless ($self->payload)
97 1 5 unless $self->header->{'typ'}
99 1 5 unless $self->header->{'alg'}
119 1 2 if ($self->header->{'alg'} and $self->header->{'alg'} ne 'none')
140 1 2 if ($self->header->{'alg'} and $self->header->{'alg'} ne 'none')
161 1 11 unless $token_string
165 3 8 unless $header and $payload
192 1 7 unless $self->token_string
195 2 5 unless $self->key
202 4 3 if ($@)