Branch Coverage

blib/lib/Mojolicious/Plugin/YubiVerify.pm
Criterion Covered Total %
branch 0 18 0.0


line true false branch
50 0 0 unless my $otp = shift()
64 0 0 if ref $_ eq 'HASH'
65 0 0 if $_->res->code
71 0 0 if $$res{'status'} ne 'OK'
72 0 0 if not defined $$res{'otp'} or $$res{'otp'} ne $otp
73 0 0 if not defined $$res{'nonce'} or $$res{'nonce'} ne $nonce
78 0 0 $ret_res ? :
0 0 if $$res{'status'} eq 'OK' and $h eq _b64hmacsig(_sortedq(%{$res;}), decode_base64($$conf{'api_key'}))
82 0 0 $ret_res ? :