blib/lib/Mojo/UserAgent/Role/DigestAuth.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 20 | 45.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 0 | 0 | 2 | $auth_param{'qop'} and $auth_param{'qop'} =~ /^auth/u |
line | l | !l | condition |
---|---|---|---|
5 | 0 | 1 | $ENV{'MOJO_USERAGENT_DIGEST_AUTH_DEBUG'} || 0 |
41 | 3 | 0 | $tx->res->code || '' |
69 | 2 | 0 | $auth_param{'nonce'} //= '__UNDEF__' |
70 | 2 | 0 | $auth_param{'realm'} //= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
68 | 1 | 1 | 0 | $args->{'client_nonce'} // _generate_nonce(time) |
106 | 2 | 0 | 0 | not $auth_param->{'algorithm'} or $auth_param->{'algorithm'} eq 'MD5' |
126 | 0 | 2 | 0 | not $auth_param->{'qop'} or $auth_param->{'qop'} eq 'auth' |