Branch Coverage

blib/lib/Mojo/UserAgent/Role/DigestAuth.pm
Criterion Covered Total %
branch 7 12 58.3


line true false branch
46 1 2 unless 3 == grep({defined $_;} @$auth{'username', 'password'}, $tx->res->headers->header('WWW-Authenticate'))
75 2 0 if ($auth_param{'qop'} and $auth_param{'qop'} =~ /^auth/u) { }
90 2 0 $auth_param{'qop'} ? :
2 0 $auth_param{'opaque'} ? :
106 2 0 if (not $auth_param->{'algorithm'} or $auth_param->{'algorithm'} eq 'MD5') { }
126 2 0 if (not $auth_param->{'qop'} or $auth_param->{'qop'} eq 'auth') { }