Branch Coverage

blib/lib/Catalyst/Authentication/Credential/Password.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
27 0 7 unless (grep /$passwordtype/, ("none", "clear", "hashed", "salted_hash", "crypted", "self_check"))
43 6 1 if (ref $user_obj) { }
44 6 0 if ($self->check_password($user_obj, $authinfo))
48 0 1 if $c->debug
59 0 9 if ($self->_config->{'password_type'} eq 'self_check') { }
63 0 9 if $self->_config->{'password_type'} eq "none"
68 9 0 if ($self->_config->{'password_type'} eq 'clear') { }
0 0 elsif ($self->_config->{'password_type'} eq 'crypted') { }
0 0 elsif ($self->_config->{'password_type'} eq 'salted_hash') { }
0 0 elsif ($self->_config->{'password_type'} eq 'hashed') { }
71 1 8 unless defined $storedpassword
77 0 0 $self->_config->{'password_salt_len'} ? :