Code Analysis: Loginizer 1.9.4

Function Rating Maintainability Complexity Lines of code
loginizer_page_brute_force()
D
0
116 1,003
loginizer_page_recaptcha_T()
D
11
68 401
loginizer_page_security_T()
D
9
52 610
loginizer_page_security()
D
23
52 158
loginizer_general_settings()
D
19
44 244
loginizer_page_2fa_T()
D
16
27 468
loginizer_page_2fa()
D
24
47 145
loginizer_social_btn()
D
27
49 107
loginizer_page_dashboard_T()
D
16
32 362
loginizer_load_plugin()
D
27
49 106
Math_BigInteger::__construct()
D
25
45 151
Math_BigInteger::isPrime()
D
25
41 117
loginizer_page_recaptcha()
D
23
37 168
loginizer_provider_settings()
D
28
31 129
Loginizer_Social_Login::login_init()
D
28
29 131
loginizer_page_checksums_T()
C
25
20 225
Math_BigInteger::divide()
C
30 23 128
loginizer_social_login()
C
33 25 87
Math_BigInteger::toBytes()
B
39 23 58
loginizer_iprange_validate()
B
41 23 55
loginizer_login_success()
B
37 22 65
loginizer_page_passwordless_T()
B
31 17 132
loginizer_update_check()
B
35 20 83
Math_BigInteger::randomPrime()
B
39 20 66
Math_BigInteger::extendedGCD()
B
35 18 86
loginizer_login_failed()
B
36 16 70
loginizer_sso_t()
B
29 8 190
Hybridauth\HttpClient\Guzzle::request()
B
39 16 63
loginizer_sso()
B
43 16 49
Math_BigInteger::_subtract()
A
41 15 60
Hybridauth\HttpClient\Curl::request()
A
40 15 56
loginizer_page_checksums()
A
41 15 53
Math_BigInteger::modPow()
A
39 14 64
Math_BigInteger::_add()
A
41 13 60
loginizer_add_social_js()
A
39 11 73
loginizer_page_footer()
A
31 5 156
loginizer_wp_authenticate()
A
45 12 42
Loginizer_Social_Login::register_account()
A
43 11 44
loginizer_error_handler()
A
51 12 23
loginizer_admin_actions()
A
53 12 19
Loginizer_Social_Login::close_tab()
A
48 11 32
Math_BigInteger::_slidingWindow()
A
44 10 42
Math_BigInteger::_multiplyLower()
A
46 10 42
loginizer_is_blacklisted()
A
51 11 25
loginizer_social_login_url_alert()
A
44 9 45
lz_getip()
A
51 10 26
loginizer_is_whitelisted()
A
52 10 24
Math_BigInteger::_compare()
A
55 10 18
Math_BigInteger::_regularMultiply()
A
49 9 32
Math_BigInteger::toString()
A
49 9 31
loginizer_admin_menu()
A
48 9 26
Math_BigInteger::modInverse()
A
51 9 25
Loginizer_Social_Login::save_avatar()
A
41 7 55
Loginizer_Social_Login::download_avatar()
A
46 8 39
Math_BigInteger::random()
A
46 8 37
Math_BigInteger::_normalize()
A
50 8 29
loginizer_page_passwordless()
A
49 8 27
loginizer_load_translation_vars()
A
46 7 41
Math_BigInteger::_barrett()
A
42 6 55
loginizer_export()
A
45 7 39
loginizer_page_dashboard()
A
52 8 24
loginizer_backuply_promo()
A
44 6 51
loginizer_htaccess_rules()
A
44 6 47
Math_BigInteger::bitwise_leftRotate()
S
49 7 29
loginizer_page_header()
S
47 6 42
Hybridauth\Hybridauth::getAdapter()
S
53 7 21
Hybridauth\Adapter\OAuth2::configure()
S
55 7 18
loginizer_promo()
S
43 1 108
inet_ptoi()
S
49 6 31
loginizer_delete_sso()
S
50 6 29
Math_BigInteger::_regularBarrett()
S
45 5 43
Math_BigInteger::_reduce()
S
53 6 24
inet_itop()
S
47 5 37
Loginizer_Social_Login::build_provider_arr()
S
54 6 21
Loginizer_Social_Login::handle_redirect()
S
54 6 21
loginizer_can_login()
S
52 6 21
Hybridauth\Adapter\OAuth2::authenticateFinish()
S
53 6 20
Hybridauth\Adapter\OAuth1::authenticate()
S
55 6 19
Hybridauth\Adapter\AbstractAdapter::validateApiResponse()
S
56 6 18
loginizer_check_expires()
S
45 4 44
loginizer_social_login_error_handler()
S
59 6 14
lz_valid_ipv4()
S
60 6 13
Math_BigInteger::_base256_rshift()
S
52 5 24
Math_BigInteger::_lshift()
S
55 5 20
Hybridauth\Hybridauth::getProviderConfig()
S
55 5 19
Hybridauth\Adapter\OAuth2::authenticate()
S
55 5 19
loginizer_newsletter_subscribe()
S
46 2 63
loginizer_get_social_error()
S
57 5 17
Math_BigInteger::_montgomeryMultiply()
S
49 4 31
Hybridauth\Adapter\AbstractAdapter::setApiEndpoints()
S
64 6 9
lz_entity_check()
S
68 6 5
lz_POSTchecked()
S
65 6 8
Hybridauth\Adapter\OAuth1::configure()
S
59 5 14
Hybridauth\Adapter\OAuth1::authenticateFinish()
S
51 4 28
lz_POSTselect()
S
61 5 13
Loginizer_Social_Login::login_user()
S
60 5 12
Hybridauth\Storage\Session::deleteMatch()
S
61 5 12
lz_get_page()
S
60 5 12
Loginizer_Social_Login::trigger_error()
S
62 5 11
Hybridauth\HttpClient\Util::getCurrentUrl()
S
61 5 11
Hybridauth\Logger\Logger::initialize()
S
62 5 11
Math_BigInteger::_montgomery()
S
51 4 25
loginizer_failed_login_export()
S
50 4 25
Math_BigInteger::bitwise_or()
S
52 4 23
Math_BigInteger::bitwise_xor()
S
52 4 23
Math_BigInteger::bitwise_and()
S
53 4 22
Hybridauth\Adapter\OAuth2::validateAccessTokenExchange()
S
54 4 22
Hybridauth\Adapter\OAuth2::apiRequest()
S
54 4 21
Math_BigInteger::_rshift()
S
55 4 19
Math_BigInteger::_baseSquare()
S
55 4 19
Math_BigInteger::bitwise_rightShift()
S
55 4 19
Math_BigInteger::bitwise_leftShift()
S
55 4 19
Hybridauth\Adapter\OpenID::authenticateFinish()
S
56 4 18
lz_report_notice()
S
56 4 18
loginizer_backuply_install()
S
56 4 17
Hybridauth\Hybridauth::__construct()
S
57 4 16
Math_BigInteger::_multiply()
S
57 4 16
Hybridauth\Adapter\OAuth2::getAuthorizeUrl()
S
57 4 16
Math_BigInteger::_base256_lshift()
S
57 4 15
loginizer_feature_available()
S
59 4 15
loginizer_page_checksums_L()
S
58 4 15
lz_POSTradio()
S
75 5 3
Math_BigInteger::_make_odd()
S
59 4 14
Math_BigInteger::abs()
S
59 4 14
lz_objectToArray()
S
62 4 12
loginizer_blocked_page()
S
52 3 27
Hybridauth\Storage\Session::__construct()
S
64 4 11
Math_BigInteger::toBits()
S
60 4 11
Hybridauth\Storage\Session::get()
S
62 4 11
Hybridauth\Adapter\OAuth1::initialize()
S
58 3 19
Math_BigInteger::bitwise_not()
S
54 3 19
Hybridauth\Adapter\OAuth2::refreshAccessToken()
S
58 3 17
Math_BigInteger::add()
S
57 3 17
Hybridauth\Adapter\AbstractAdapter::getAccessToken()
S
58 3 17
Math_BigInteger::subtract()
S
57 3 17
Math_BigInteger::multiply()
S
57 3 17
_lz_getip()
S
66 4 9
loginizer_social_css()
S
62 4 10
lz_valid_ip()
S
66 4 9
Hybridauth\Adapter\AbstractAdapter::setHttpClient()
S
69 4 6
Hybridauth\Logger\Logger::__construct()
S
66 4 8
loginizer_social_interim_js()
S
66 4 9
lz_is_multisite()
S
71 4 6
loginizer_deactivation()
S
51 2 29
Hybridauth\Adapter\OAuth1::oauthRequest()
S
52 2 29
lz_report_error()
S
61 3 12
Hybridauth\Adapter\OpenID::authenticate()
S
62 3 12
Hybridauth\Exception\Exception::debug()
S
51 2 27
Hybridauth\Adapter\OAuth2::authenticateCheckError()
S
61 3 12
lz_sanitize_variables()
S
63 3 11
Hybridauth\Adapter\OpenID::fetchUserGender()
S
63 3 11
Hybridauth\Data\Parser::parseQueryString()
S
63 3 11
Math_BigInteger::__sleep()
S
63 3 11
Hybridauth\Adapter\OAuth1::apiRequest()
S
61 3 11
Hybridauth\Adapter\OAuth2::initialize()
S
53 2 24
loginizer_activation()
S
54 2 23
Math_BigInteger::_karatsuba()
S
53 2 22
Math_BigInteger::_karatsubaSquare()
S
55 2 19
Hybridauth\Adapter\OAuth1::validateAccessTokenExchange()
S
56 2 18
Hybridauth\Provider\LinkedInOpenID::getUserProfile()
S
57 2 16
Hybridauth\Adapter\OAuth1::validateAuthTokenRequest()
S
58 2 16
Hybridauth\Adapter\OpenID::fetchUserDisplayName()
S
64 3 10
Hybridauth\HttpClient\Util::redirect()
S
64 3 10
Math_BigInteger::compare()
S
65 3 9
loginizer_show_social_status()
S
70 3 6
lz_POSTval()
S
77 3 3
Hybridauth\Hybridauth::getConnectedAdapters()
S
64 3 10
Hybridauth\Adapter\OAuth2::hasAccessTokenExpired()
S
65 3 10
Hybridauth\Adapter\OpenID::configure()
S
64 3 10
Hybridauth\Data\Collection::filter()
S
64 3 10
Math_BigInteger::_trim()
S
65 3 9
Hybridauth\Data\Parser::parse()
S
65 3 10
Hybridauth\Hybridauth::getConnectedProviders()
S
66 3 9
Hybridauth\Hybridauth::getProviders()
S
66 3 9
Hybridauth\Hybridauth::disconnectAllAdapters()
S
67 3 8
Math_BigInteger::equals()
S
66 3 8
Hybridauth\Adapter\OAuth2::isConnected()
S
70 3 6
Hybridauth\Adapter\AbstractAdapter::setLogger()
S
65 3 9
Math_BigInteger::_divide_digit()
S
62 3 10
Hybridauth\Adapter\OAuth1::exchangeAuthTokenForAccessToken()
S
61 2 13
Hybridauth\Data\Parser::parseXml()
S
61 2 12
Hybridauth\Adapter\OAuth1::requestAuthToken()
S
62 2 12
Hybridauth\Adapter\OpenID::authenticateBegin()
S
53 1 24
loginizer_csrf_promo()
S
60 1 19
Hybridauth\Adapter\OpenID::fetchUserProfile()
S
55 1 19
Hybridauth\HttpClient\Curl::getResponse()
S
58 1 17
loginizer_how_to_linkedinopenid()
S
57 1 17
loginizer_dismiss_backuply()
S
65 2 9
Hybridauth\HttpClient\Curl::setCurlOptions()
S
73 2 5
Math_BigInteger::_prepareReduce()
S
70 2 6
Hybridauth\HttpClient\Guzzle::__construct()
S
79 2 3
Hybridauth\Data\Collection::set()
S
75 2 5
Hybridauth\HttpClient\Curl::prepareRequestHeaders()
S
68 2 7
loginizer_backuply_install_complete_actions()
S
72 2 6
Hybridauth\Adapter\OpenID::initialize()
S
66 2 8
Hybridauth\Data\Collection::values()
S
70 2 7
lz_htmlizer()
S
64 2 9
lz_optget()
S
70 2 6
Hybridauth\Logger\Logger::log()
S
64 2 8
loginizer_woocommerce_error_handler()
S
70 2 6
lz_selectquery()
S
66 2 9
loginizer_update_attempt_stats()
S
64 2 9
Hybridauth\Storage\Session::delete()
S
66 2 8
lz_lang_vars_name()
S
70 2 6
loginizer_dismiss_license_alert()
S
66 2 8
Math_BigInteger::__wakeup()
S
65 2 9
Math_BigInteger::_multiplyReduce()
S
67 2 7
Math_BigInteger::setPrecision()
S
62 2 10
Hybridauth\Storage\Session::set()
S
68 2 7
loginizer_dismiss_csrf()
S
65 2 9
Hybridauth\HttpClient\Curl::fetchResponseHeader()
S
63 2 9
lz_optreq()
S
70 2 6
loginizer_retries_left()
S
67 2 7
Math_BigInteger::_squareReduce()
S
70 2 6
Hybridauth\Adapter\AbstractAdapter::setAccessToken()
S
69 2 7
loginizer_dismiss_social_alert()
S
67 2 8
Hybridauth\Logger\Logger::debug()
S
70 2 6
Hybridauth\Adapter\OAuth1::getAuthorizeUrl()
S
63 2 10
loginizer_social_order()
S
64 2 9
loginizer_plugin_action_links()
S
65 2 8
lz_optpost()
S
70 2 6
Hybridauth\Adapter\AbstractAdapter::setCallback()
S
70 2 6
Math_BigInteger::_square()
S
72 2 5
loginizer_dismiss_newsletter()
S
65 2 9
lz_RandomString()
S
64 2 9
lz_is_checked()
S
71 2 6
lz_valid_ipv6()
S
69 2 7
Hybridauth\Data\Collection::properties()
S
69 2 7
Hybridauth\Adapter\AbstractAdapter::setStorage()
S
79 2 3
Hybridauth\Logger\Logger::info()
S
70 2 6
Hybridauth\Provider\LinkedInOpenID::initialize()
S
66 2 9
Hybridauth\HttpClient\Guzzle::getResponse()
S
59 1 15
Math_BigInteger::_array_repeat()
S
78 2 3
Hybridauth\Logger\Logger::error()
S
70 2 6
Hybridauth\Data\Collection::get()
S
72 2 6
Hybridauth\Adapter\OpenID::getUserProfile()
S
68 2 7
Hybridauth\Adapter\OAuth2::exchangeCodeForAccessToken()
S
64 1 11
lz_cleanpath()
S
70 1 6
Hybridauth\Adapter\OpenID::disconnect()
S
76 1 4
loginizer_passwordless_settings()
S
77 1 4
loginizer_checksums_settings()
S
77 1 4
Math_BigInteger::gcd()
S
77 1 4
Math_BigInteger::_int2bytes()
S
78 1 3
Hybridauth\Adapter\AbstractAdapter::getStorage()
S
82 1 3
loginizer_recaptcha_settings()
S
77 1 4
Math_BigInteger::__clone()
S
82 1 3
Hybridauth\User\Profile::__set()
S
78 1 3
Hybridauth\Logger\Psr3LoggerWrapper::debug()
S
80 1 3
Hybridauth\Hybridauth::isConnectedWith()
S
80 1 3
loginizer_2fa_settings()
S
77 1 4
Loginizer_Social_Login::error_state()
S
63 1 10
Hybridauth\User\Activity::__construct()
S
69 1 7
Hybridauth\HttpClient\Curl::getResponseBody()
S
82 1 3
Hybridauth\Adapter\OAuth2::authenticateBegin()
S
71 1 5
Hybridauth\Storage\Session::clear()
S
80 1 3
loginizer_load_admin_assets()
S
73 1 4
Hybridauth\Adapter\AbstractAdapter::setPageStatus()
S
80 1 3
Hybridauth\Data\Collection::count()
S
80 1 3
loginizer_load_plugin_textdomain()
S
78 1 3
Hybridauth\HttpClient\Curl::getResponseClientError()
S
82 1 3
Hybridauth\HttpClient\Guzzle::setLogger()
S
81 1 3
Hybridauth\Data\Collection::__construct()
S
80 1 3
Hybridauth\Adapter\AbstractAdapter::isConnected()
S
100 1 0
Hybridauth\HttpClient\Guzzle::getResponseHttpCode()
S
82 1 3
Hybridauth\HttpClient\Guzzle::getResponseHeader()
S
82 1 3
Math_BigInteger::_prepMontgomery()
S
66 1 8
loginizer_social_login_settings()
S
77 1 4
loginizer_brute_force_settings()
S
77 1 4
Hybridauth\HttpClient\Curl::setLogger()
S
81 1 3
Hybridauth\Data\Parser::parseJson()
S
80 1 3
Hybridauth\Data\Collection::exists()
S
79 1 3
Hybridauth\HttpClient\Guzzle::getResponseBody()
S
82 1 3
Hybridauth\Adapter\AbstractAdapter::getUserActivity()
S
80 1 3
Hybridauth\Adapter\AbstractAdapter::apiRequest()
S
80 1 3
Hybridauth\HttpClient\Util::setExitHandler()
S
80 1 3
Hybridauth\Adapter\AbstractAdapter::setUserStatus()
S
80 1 3
Hybridauth\Data\Collection::isEmpty()
S
80 1 3
Hybridauth\Adapter\OAuth2::isRefreshTokenAvailable()
S
80 1 3
Hybridauth\HttpClient\Guzzle::getRequestArguments()
S
82 1 3
Math_BigInteger::__toString()
S
82 1 3
Hybridauth\Adapter\AbstractAdapter::getUserContacts()
S
80 1 3
Hybridauth\Adapter\AbstractAdapter::getUserPages()
S
80 1 3
loginizer_is_premium()
S
81 1 3
Hybridauth\Adapter\OAuth1::isConnected()
S
80 1 3
Hybridauth\HttpClient\Curl::getResponseHttpCode()
S
82 1 3
Hybridauth\HttpClient\Curl::getResponseHeader()
S
82 1 3
Hybridauth\Adapter\OAuth2::validateRefreshAccessToken()
S
80 1 3
Math_BigInteger::bitwise_rightRotate()
S
80 1 3
Hybridauth\HttpClient\Guzzle::getResponseClientError()
S
82 1 3
Math_BigInteger::toHex()
S
80 1 3
Hybridauth\Adapter\AbstractAdapter::getUserProfile()
S
80 1 3
Hybridauth\Logger\Psr3LoggerWrapper::log()
S
79 1 3
Hybridauth\Adapter\AbstractAdapter::getLogger()
S
82 1 3
loginizer_security_settings()
S
77 1 4
Hybridauth\Data\Parser::parseBirthday()
S
74 1 4
Hybridauth\Logger\Psr3LoggerWrapper::info()
S
80 1 3
Math_BigInteger::_bytes2int()
S
73 1 4
lz_valid_email()
S
80 1 3
Math_BigInteger::Math_BigInteger()
S
79 1 3
Hybridauth\HttpClient\Guzzle::getResponseClientInfo()
S
82 1 3
Hybridauth\HttpClient\Util::setRedirectHandler()
S
80 1 3
lz_print()
S
75 1 5
Hybridauth\Logger\Psr3LoggerWrapper::error()
S
80 1 3
loginizer_dashboard()
S
77 1 4
Hybridauth\Data\Collection::toArray()
S
81 1 3
Hybridauth\HttpClient\Curl::getResponseClientInfo()
S
82 1 3
Hybridauth\User\Contact::__set()
S
78 1 3
Hybridauth\Adapter\AbstractAdapter::__construct()
S
63 1 10
Math_BigInteger::powMod()
S
80 1 3
Hybridauth\Adapter\AbstractAdapter::configure()
S
100 1 0
Hybridauth\Adapter\OpenID::isConnected()
S
79 1 3
Hybridauth\Adapter\AbstractAdapter::disconnect()
S
82 1 3
loginizer_sso_settings()
S
77 1 4
Hybridauth\Adapter\AbstractAdapter::getHttpClient()
S
82 1 3
Math_BigInteger::_modInverse67108864()
S
64 1 9
Hybridauth\Adapter\OAuth1::authenticateBegin()
S
67 1 7
lz_inputsec()
S
73 1 5
Hybridauth\HttpClient\Curl::getRequestArguments()
S
82 1 3
Math_BigInteger::setRandomGenerator()
S
82 1 3
Hybridauth\Hybridauth::authenticate()
S
74 1 5
Math_BigInteger::_mod2()
S
73 1 5
Hybridauth\User\Activity::__set()
S
78 1 3
Hybridauth\Adapter\AbstractAdapter::initialize()
S
100 1 0
Hybridauth\Adapter\AbstractAdapter::maintainToken()
S
91 1 2
Math_BigInteger::copy()
S
66 1 9
loginizer_reset_retries()
S
67 1 7
loginizer_social_btn_login()
S
80 1 3