Condition Coverage

blib/lib/Mojolicious/Plugin/YubiVerify.pm
Criterion Covered Total %
condition 0 15 0.0


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 $res->{'status'} eq 'OK' and $h eq _b64hmacsig(_sortedq(%{$res;}), &decode_base64($conf->{'api_key'}))

or 2 conditions

line l !l condition
43 0 0 $conf->{'api_id'} ||= 1851
44 0 0 $conf->{'api_key'} ||= 'oBVbNt7IZehZGR99rvq8d6RZ1DM='
45 0 0 $conf->{'parallel'} ||= 2

or 3 conditions

line l !l&&r !l&&!r condition
72 0 0 0 not defined $res->{'otp'} or $res->{'otp'} ne $otp
73 0 0 0 not defined $res->{'nonce'} or $res->{'nonce'} ne $nonce