Branch Coverage

blib/lib/Auth/ActiveDirectory.pm
Criterion Covered Total %
branch 21 34 61.7


line true false branch
70 2 0 unless $message->is_error
72 0 0 $message->code == 49 ? :
108 2 0 unless $self->{'base'}
109 1 1 unless $self->{'ldap'}
121 0 1 unless $self->ldap
124 0 1 if (_v_is_error($message, $user))
145 0 1 $_->get_value('accountExpires') != 9223372036854775807 ? :
4 0 /^CN=(.*),OU=.*$/ ? :
160 0 1 if (_v_is_error($message, $user))
175 1 1 unless $_[1]
187 1 1 unless $_[1]
199 1 1 unless $_[1]
211 2 1 unless $_[1]
223 2 1 unless $_[1]
235 5 0 unless $_[1]
247 2 0 unless $_[1]
259 0 0 unless $_[1]