Condition Coverage

blib/lib/Mojo/JWT.pm
Criterion Covered Total %
condition 6 15 40.0


or 3 conditions

line l !l&&r !l&&!r condition
107 13 1 0 'Digest::SHA'->can("hmac_sha$size") || croak('Unsupported HS signing algorithm')
114 2 0 0 $self->secret || croak('private key (secret) not specified')
115 2 0 0 $crypt->can("use_sha${size}_hash") || croak('Unsupported RS signing algorithm')
125 2 0 0 $self->public || croak('public key not specified')
126 2 0 0 $crypt->can("use_sha${size}_hash") || croak('Unsupported RS verification algorithm')