Condition Coverage

blib/lib/Mojo/UserAgent/DigestAuth.pm
Criterion Covered Total %
condition 8 18 44.4


and 3 conditions

line !l l&&!r l&&r condition
120 0 0 2 $auth_param{'qop'} and $auth_param{'qop'} =~ /^auth/

or 2 conditions

line l !l condition
56 0 2 $ENV{'MOJO_USERAGENT_DIGEST_AUTH_DEBUG'} || 0
114 2 0 $auth_param{'nonce'} //= '__UNDEF__'
115 2 0 $auth_param{'realm'} //= ''

or 3 conditions

line l !l&&r !l&&!r condition
113 1 1 0 $$args{'client_nonce'} // _generate_nonce(time)
151 2 0 0 not $$auth_param{'algorithm'} or $$auth_param{'algorithm'} eq 'MD5'
171 0 2 0 not $$auth_param{'qop'} or $$auth_param{'qop'} eq 'auth'