Branch Coverage

blib/lib/CGI/Builder/Auth/UserAdmin.pm
Criterion Covered Total %
branch 12 38 31.5


line true false branch
14 0 4 if $$self{'_HASH'}{$user}
20 1 0 unless $$self{'_HASH'}{$user} =~ /^!/
22 0 1 unless $$self{'_HASH'}{$user} =~ /^!/
29 0 1 if $$self{'_HASH'}{$user} =~ /^!/
39 19 35 unless defined $$self{'_HASH'}{$name}
46 0 22 unless $file
47 0 22 if ($$self{'_HASH'})
54 0 22 unless $self->lock
71 0 0 unless $self->exists($username)
73 0 0 unless (defined $passwd)
81 0 0 if $bool
99 0 0 defined $z ? :
0 8 if $$self{'ENCRYPT'} eq 'MD5'
122 9 0 if ($scheme eq 'crypt') { }
0 0 elsif ($scheme eq 'MD5') { }
0 0 elsif ($scheme eq 'SHA') { }
0 0 elsif ($scheme eq 'none') { }
128 0 0 unless (defined $$self{'_MD5'})
150 0 9 defined $newstyle && $newstyle ? :