Branch Coverage

blib/lib/Auth/ActiveDirectory.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
71 2 0 unless $message->is_error
73 0 0 $message->code == 49 ? :
109 2 0 unless $self->{'base'}
110 1 1 unless $self->{'ldap'}
122 0 1 unless $self->ldap
125 0 1 if _v_is_error($message, $user)
142 0 1 $_->get_value('accountExpires') != 9223372036854775807 ? :
4 0 /^CN=(.*),OU=.*$/ ? :
157 0 1 if _v_is_error($message, $user)
169 1 1 unless $_[1]
181 1 1 unless $_[1]
193 1 1 unless $_[1]
205 2 1 unless $_[1]
217 2 1 unless $_[1]
229 5 0 unless $_[1]
241 2 0 unless $_[1]