Branch Coverage

blib/lib/Lemonldap/Portal/Authntsso.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
60 0 0 if (defined $urlc)
79 0 0 if (defined $operation and $operation eq 't')
97 0 0 if (defined $user or defined $password)
100 0 0 if (not defined $user or $user eq '' or not defined $password or $password eq '')
110 0 0 if (not defined $user || defined $password)
124 0 0 unless ($$self{'ldap'})
125 0 0 unless my $ldap = 'Net::LDAP'->new($$self{'server'}, 'port', $$self{'port'}, 'onerror', undef)
140 0 0 if ($dn and $password) { }
148 0 0 if ($mesg->code != 0)
182 0 0 if ($mesg)
200 0 0 if $mesg->code != 0
203 0 0 unless (defined $retour)
236 0 0 if $$self{'ldap'}
249 0 0 unless (Authen::Smb::authen($login, $passwd, $BDC, $BDC_secours || $BDC, $ntdomain) == 0)
316 0 0 if $$self{'error'}
318 0 0 if $$self{'error'}
325 0 0 if $$self{'error'}
328 0 0 if ($$self{'error'})