Branch Coverage

blib/lib/Catalyst/Authentication/Store/LDAP/User.pm
Criterion Covered Total %
branch 10 24 41.6


line true false branch
79 0 4 unless $user
108 0 1 if ref $userfield eq 'ARRAY'
109 0 1 if ($userfield eq 'dn') { }
115 0 1 ref $val eq 'ARRAY' ? :
143 0 0 if ($self->store->ldap_auth($self->ldap_entry->dn, $password)) { }
197 0 0 if ($type eq 'ashash') { }
214 0 4 unless (defined $attribute)
218 0 4 if ($attribute eq 'dn') { }
0 4 elsif ($attribute eq 'username') { }
4 0 elsif (exists $self->user->{'attributes'}{$attribute}) { }
321 0 5 if ($method eq 'DESTROY')
325 5 0 if (my $attribute = $self->has_attribute($method)) { }