Condition Coverage

blib/lib/Authen/Htpasswd/User.pm
Criterion Covered Total %
condition 4 10 40.0


or 2 conditions

line l !l condition
63 22 0 $$self{'encrypt_hash'} ||= 'crypt'
64 22 0 $$self{'check_hashes'} ||= [Authen::Htpasswd::Util::supported_hashes()]

or 3 conditions

line l !l&&r !l&&!r condition
68 0 2 0 $$self{'hashed_password'} ||= htpasswd_encrypt($$self{'encrypt_hash'}, $_[1])
84 0 16 0 $hashes ||= $self->check_hashes