Code Analysis: AuthLDAP 2.6.3

Function Rating Maintainability Complexity Lines of code
authLdap_login()
D
21
43 207
Org_Heigl\AuthLdap\LdapUri::__construct()
B
41 17 56
authLdap_options_panel()
B
35 15 78
authLdap_groupmap()
A
39 14 63
authLdap_load_options()
A
39 11 71
Org_Heigl\AuthLdap\UserRoleHandler::addRolesToUser()
S
55 7 20
Org_Heigl\AuthLdap\Manager\Ldap::bind()
S
57 5 17
Org_Heigl\AuthLdap\Manager\Ldap::search()
S
57 5 17
Org_Heigl\AuthLdap\LdapList::bind()
S
58 4 16
authLdap_set_options()
S
59 4 15
FeatureContext::anLdapUserWithNamePasswordAndEmailExists()
S
47 2 45
authLdap_get_server()
S
54 3 22
FeatureContext::anLdapGroupExists()
S
52 2 32
Org_Heigl\AuthLdap\Manager\Ldap::authenticate()
S
62 4 10
authLdap_get_option()
S
64 4 10
authLdap_user_role()
S
59 3 14
authLdap_sort_roles_by_capabilities()
S
59 3 14
authLdap_addmenu()
S
58 2 20
FeatureContext::aWordpressUserWithNameAndEmailExists()
S
58 2 18
authLdap_show_password_fields()
S
66 3 9
authLdap_allow_password_reset()
S
66 3 9
authLdap_sortByCapabilitycount()
S
66 3 9
Org_Heigl\AuthLdap\LdapList::authenticate()
S
63 3 10
authLdap_get_uid()
S
60 2 15
Org_Heigl\AuthLdap\LdapList::search()
S
64 3 10
Org_Heigl\AuthLdap\LdapUri::isAnonymous()
S
67 3 9
Org_Heigl\AuthLdap\Wrapper\Ldap::bind()
S
70 3 6
FeatureContext::aWordpressRoleExists()
S
63 2 12
FeatureContext::configurationValueIsSetToAnd()
S
61 2 12
FeatureContext::beforeSuite()
S
62 2 11
FeatureContext::ldapUserIsMemberOfLdapGroup()
S
61 1 16
FeatureContext::ldapUserIsNotMemberOfLdapGroup()
S
61 1 16
authLdap_send_change_email()
S
71 2 6
authLdap_debug()
S
73 2 5
Org_Heigl\AuthLdap\Exception\Error::__construct()
S
71 2 6
Org_Heigl\AuthLdap\OptionFactory::fromJson()
S
66 2 8
Org_Heigl\AuthLdap\Options::get()
S
70 2 6
Org_Heigl\AuthLdap\Options::set()
S
70 2 6
Org_Heigl\AuthLdap\Manager\Ldap::connect()
S
64 2 10
Org_Heigl\AuthLdap\Manager\Ldap::disconnect()
S
69 2 7
authLdap_get_post()
S
78 2 3
FeatureContext::ldapUserLogsInWithPassword()
S
60 1 14
FeatureContext::aNewWordpressUserWasCreatedWithNameAndEmail()
S
59 1 14
FeatureContext::aDefaultConfiguration()
S
60 1 13
FeatureContext::theWordpressUserIsNotMemberOfRole()
S
61 1 12
FeatureContext::theWordpressUserIsMemberOfRole()
S
61 1 12
Org_Heigl\AuthLdap\Wrapper\Ldap::search()
S
65 1 11
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::cannotparse()
S
72 1 6
Org_Heigl\AuthLdap\LdapUri::toString()
S
78 1 3
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::noEnvironmentVariableSet()
S
72 1 6
FeatureContext::aWordpressUserDoesNotExist()
S
72 1 6
Org_Heigl\AuthLdap\Wrapper\Ldap::startTls()
S
80 1 3
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::noServerProvided()
S
72 1 6
Org_Heigl\AuthLdap\Wrapper\Ldap::getEntries()
S
79 1 3
Org_Heigl\AuthLdap\Wrapper\LdapFactory::createFromLdapUri()
S
80 1 3
Org_Heigl\AuthLdap\Options::toArray()
S
82 1 3
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::wrongSchema()
S
72 1 6
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::invalidSearchBaseProvided()
S
72 1 6
Org_Heigl\AuthLdap\Wrapper\Ldap::__construct()
S
80 1 3
Org_Heigl\AuthLdap\LdapUri::injectEnvironmentVariables()
S
72 1 5
Org_Heigl\AuthLdap\Wrapper\Ldap::error()
S
80 1 3
Org_Heigl\AuthLdap\Wrapper\Ldap::escape()
S
78 1 3
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::noSchema()
S
72 1 6
Org_Heigl\AuthLdap\LdapList::addLdap()
S
80 1 3
Org_Heigl\AuthLdap\Exception\SearchUnsuccessfull::fromSearchFilter()
S
72 1 6
Org_Heigl\AuthLdap\Wrapper\LdapFactory::escape()
S
79 1 3
Org_Heigl\AuthLdap\Exception\UnknownOption::withKey()
S
72 1 6
Org_Heigl\AuthLdap\LdapUri::getBaseDn()
S
82 1 3
FeatureContext::theLoginSuceeds()
S
71 1 5
Org_Heigl\AuthLdap\LdapUri::fromString()
S
80 1 3
FeatureContext::__construct()
S
74 1 5
Org_Heigl\AuthLdap\Exception\MissingValidLdapConnection::get()
S
74 1 5
FeatureContext::wordpressUserHasRole()
S
71 1 7
Org_Heigl\AuthLdap\Options::has()
S
79 1 3
FeatureContext::aWordpressFilterWithImplementation()
S
71 1 5
Org_Heigl\AuthLdap\Wrapper\Ldap::setOption()
S
79 1 3
Org_Heigl\AuthLdap\Wrapper\Ldap::unbind()
S
80 1 3
Org_Heigl\AuthLdap\Exception\InvalidLdapUri::noSearchBaseProvided()
S
72 1 6
Org_Heigl\AuthLdap\LdapUri::getUsername()
S
82 1 3
Org_Heigl\AuthLdap\Wrapper\Ldap::errno()
S
80 1 3
FeatureContext::configurationValueIsSetTo()
S
69 1 7
Org_Heigl\AuthLdap\Manager\Ldap::__construct()
S
71 1 6
Org_Heigl\AuthLdap\LdapUri::getPassword()
S
82 1 3
Org_Heigl\AuthLdap\LdapUri::__toString()
S
81 1 3