Condition Coverage

blib/lib/Plack/Middleware/Auth/Digest.pm
Criterion Covered Total %
condition 1 18 5.5


and 3 conditions

line !l l&&!r l&&r condition
21 0 2 0 $self->authenticator and ref $self->authenticator ne 'CODE'
44 0 0 0 defined $password and $self->valid_nonce($auth)
0 0 0 defined $password and $self->valid_nonce($auth) and $self->digest($password, $auth) eq $$auth{'response'}
117 0 0 0 $time && $digest && $digest eq $self->hmac($time)

or 2 conditions

line l !l condition
36 0 0 $self->parse_challenge($1) || {}
92 0 0 $self->realm || 'restricted area'
123 0 0 $self->nonce_ttl || 60