Code Analysis: AuthLDAP 2.4.4

Function Rating Maintainability Complexity Lines of code
authLdap_login()
D
23
37 187
authLdap_options_panel()
A
37 12 69
authLdap_load_options()
A
39 11 71
Org_Heigl\AuthLdap\LDAP::__construct()
A
44 12 44
authLdap_groupmap()
A
41 11 57
Org_Heigl\AuthLdap\LDAP::bind()
S
55 7 20
Org_Heigl\AuthLdap\LDAP::authenticate()
S
57 7 15
Org_Heigl\AuthLdap\LDAP::search()
S
57 5 17
Org_Heigl\AuthLdap\LDAP::connect()
S
57 5 16
authLdap_user_role()
S
57 4 17
Org_Heigl\AuthLdap\LdapList::bind()
S
58 4 16
authLdap_set_options()
S
59 4 15
authLdap_get_server()
S
54 3 22
authLdap_get_option()
S
64 4 10
authLdap_sort_roles_by_capabilities()
S
59 3 14
LdapTest::dpInstantiateLdapClass()
S
49 1 44
Org_Heigl\AuthLdap\LdapList::search()
S
62 3 11
authLdap_addmenu()
S
58 2 20
authLdap_allow_password_reset()
S
66 3 9
authLdap_show_password_fields()
S
66 3 9
authLdap_sortByCapabilitycount()
S
66 3 9
Org_Heigl\AuthLdap\LdapList::authenticate()
S
63 3 10
AllTests::main()
S
68 3 7
authLdap_get_uid()
S
60 2 15
Org_Heigl\AuthLdap\LdapUri::__construct()
S
70 2 6
Org_Heigl\AuthLdap\LDAP::logError()
S
65 2 9
authLdap_get_post()
S
78 2 3
LdapTest::testInstantiateLdapClass()
S
69 2 6
Org_Heigl\AuthLdap\LdapUri::toString()
S
63 2 10
authLdap_debug()
S
73 2 5
Org_Heigl\AuthLdap\LDAP::disconnect()
S
69 2 7
authLdap_send_change_email()
S
71 2 6
Org_Heigl\AuthLdap\Exception\Error::__construct()
S
71 2 6
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::fromLdapUriString()
S
80 1 3
authLdapTest\LdapTest::teardown()
S
81 1 3
authLdapTest\LdapTest::setup()
S
81 1 3
authLdapTest\LdapTest::testNothing()
S
81 1 3
Org_Heigl\AuthLdap\LDAP::getErrorText()
S
80 1 3
Org_Heigl\AuthLdap\LdapList::addLdap()
S
80 1 3
AllTests::suite()
S
73 1 5
LdapTest::dpExceptionsWhenInstantiatingLdapClass()
S
66 1 10
Org_Heigl\AuthLdap\LdapUri::fromString()
S
80 1 3
LdapTest::testExceptionsWhenInstantiatingLdapClass()
S
81 1 3
Org_Heigl\AuthLdap\LDAP::debugOff()
S
77 1 4
Org_Heigl\AuthLdap\LdapUri::__toString()
S
81 1 3
Org_Heigl\AuthLdap\LDAP::getErrorNumber()
S
80 1 3
Org_Heigl\AuthLdap\LDAP::debugOn()
S
77 1 4