Branch Coverage

blib/lib/Auth/Yubikey_WebClient.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
92 0 0 unless (defined $options_ref)
99 0 0 if (defined $options{'id'}) { }
108 0 0 if (defined $options{'api'}) { }
112 0 0 if (length($self->{'api'}) % 4 != 0)
122 0 0 defined $options{'nonce'} ? :
124 0 0 defined $options{'url'} ? :
126 0 0 defined $options{'verify_hostname'} ? :
196 0 0 if (not $self->{'otp'} =~ /[cbdefghijklnrtuv]/i or length $self->{'otp'} < 32)
203 0 0 unless $self->{'nonce'}
213 0 0 if ($res->is_success) { }
223 0 0 unless ($self->{'response'} =~ /status=ok/i)
238 0 0 if ($_ =~ /=/)
264 0 0 unless $self->{'nonce'} eq $result{'nonce'} and $self->{'otp'} eq $result{'otp'}
270 0 0 if ($hmac eq $signatur) { }