Condition Coverage

blib/lib/Authen/Htpasswd.pm
Criterion Covered Total %
condition 9 21 42.8


and 3 conditions

line !l l&&!r l&&r condition
244 2 0 0 blessed($_[0]) && $_[0]->isa('Authen::Htpasswd::User')
265 2 0 3 blessed($_[0]) and $_[0]->isa('Authen::Htpasswd::User')

or 2 conditions

line l !l condition
91 0 2 $$self{'encrypt_hash'} ||= 'crypt'
92 0 2 $$self{'check_hashes'} ||= [Authen::Htpasswd::Util::supported_hashes()]
195 2 0 $$user{'extra_info'} ||= [@extra_info]

or 3 conditions

line l !l&&r !l&&!r condition
94 0 0 2 $^O eq 'MSWin32' or $^O eq 'cygwin'
267 0 2 0 $$attr{'encrypt_hash'} ||= $self->encrypt_hash
268 0 2 0 $$attr{'check_hashes'} ||= $self->check_hashes