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)
98 0 0 if (defined $options{'id'}) { }
104 0 0 if (defined $options{'api'}) { }
107 0 0 if (length($self->{'api'}) % 4 != 0)
114 0 0 defined $options{'nonce'} ? :
116 0 0 defined $options{'url'} ? :
118 0 0 defined $options{'verify_hostname'} ? :
188 0 0 if (not $self->{'otp'} =~ /[cbdefghijklnrtuv]/i or length $self->{'otp'} < 32)
194 0 0 unless $self->{'nonce'}
205 0 0 if ($res->is_success) { }
212 0 0 unless ($self->{'response'} =~ /status=ok/i)
225 0 0 if ($_ =~ /=/)
250 0 0 unless $self->{'nonce'} eq $result{'nonce'} and $self->{'otp'} eq $result{'otp'}
254 0 0 if ($hmac eq $signatur) { }