Code Analysis: Cloudbridge 2FA 1.0.3

Function Rating Maintainability Complexity Lines of code
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_import()
D
26
43 130
cloudbridge2fa\Cloudbridge_2FA::cb2fa_post_wp_authenticate()
D
27
43 117
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_page()
D
23
29 200
cloudbridge2fa\Cloudbridge_2FA_Login::drawForm()
C
27
24 166
cloudbridge2fa\Cloudbridge_2FA::__construct()
C
33 29 88
cloudbridge2fa\Cloudbridge_2FA::cb2fa_is_plugin_admin()
C
40 27 54
cloudbridge2fa\Cloudbridge_2FA_Login::getCookieHash()
B
41 20 52
cloudbridge2fa\Cloudbridge_2FA::cb2fa_get_wordpress_admin_users()
B
47 17 34
cloudbridge2fa\Cloudbridge_2FA::cb2fa_settings()
A
44 13 38
cloudbridge2fa\Cloudbridge_2FA_Login::send_2fa_code()
A
38 11 68
cloudbridge2fa\Cloudbridge_2FA::cb2fa_make_icon_html()
A
46 11 40
cloudbridge2fa\Cloudbridge_2FA::cb2fa_login_form()
A
53 12 20
cloudbridge2fa\Cloudbridge_2FA_Login::__construct()
A
48 10 32
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_roles()
A
53 9 22
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_cookies()
A
53 9 22
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_admin_users()
A
53 9 21
cloudbridge2fa\Cloudbridge_2FA_Login::isSSL()
A
58 9 15
cloudbridge2fa\Cloudbridge_2FA::cb2fa_get_wp_roles()
A
48 7 33
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_cookie_lifetime()
S
57 7 15
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_export()
S
45 5 40
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setup_other()
S
60 5 11
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_debug_update_option()
S
56 4 17
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_debug_updated_option()
S
57 4 16
cloudbridge2fa\Cloudbridge_2FA::cb2fa_settings_link()
S
57 4 15
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_code_lifetime()
S
63 5 9
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_textarea_setting()
S
64 5 9
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_sanitize_code_input_text_addon()
S
63 5 9
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setup_public_css()
S
58 4 14
cloudbridge2fa\Cloudbridge_2FA_Utility::x_substr()
S
63 4 12
cloudbridge2fa\Cloudbridge_2FA::cb2fa_has_admin_roles()
S
64 4 10
cloudbridge2fa\Cloudbridge_2FA::cb2fa_resource_mtime()
S
62 4 10
cloudbridge2fa\Cloudbridge_2FA::run()
S
58 3 15
cloudbridge2fa\Cloudbridge_2FA::cb2fa_hide_plugin()
S
63 4 10
cloudbridge2fa\Cloudbridge_2FA::cb2fa_menu()
S
51 2 30
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_debug_add_option()
S
64 3 9
cloudbridge2fa\Cloudbridge_2FA::cb2fa_auth_form()
S
62 3 10
cloudbridge2fa\Cloudbridge_2FA_Utility::x_strtolower()
S
72 2 6
cloudbridge2fa\Cloudbridge_2FA::getInstance()
S
75 2 4
cloudbridge2fa\Cloudbridge_2FA_Utility::__construct()
S
69 2 7
cloudbridge2fa\Cloudbridge_2FA_Utility::x_strpos()
S
71 2 6
cloudbridge2fa\Cloudbridge_2FA::setup_locale()
S
70 2 6
cloudbridge2fa\Cloudbridge_2FA_Utility::x_stripslashes()
S
70 2 6
cloudbridge2fa\Cloudbridge_2FA_Login::setUser()
S
71 2 6
cloudbridge2fa\Cloudbridge_2FA_Utility::x_strlen()
S
72 2 6
cloudbridge2fa\Cloudbridge_2FA_Utility::x_stripos()
S
71 2 6
cloudbridge2fa\Cloudbridge_2FA_Login::getInstance()
S
74 2 4
cloudbridge2fa\Cloudbridge_2FA_Utility::getInstance()
S
75 2 4
cloudbridge2fa\Cloudbridge_2FA_Options::cb2fa_is_option_json()
S
68 1 8
cloudbridge2fa\Cloudbridge_2FA_Options::cb2fa_is_our_option()
S
79 1 3
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_remove()
S
67 1 7
cloudbridge2fa\Cloudbridge_2FA_Login::set_mail_from_name()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA_Login::getUsername()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_alert_plugin_activated()
S
63 1 9
cloudbridge2fa\Cloudbridge_2FA::cb2fa_code_email_text_addon()
S
68 1 7
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_code_email_subject()
S
67 1 7
cloudbridge2fa\Cloudbridge_2FA::cb2fa_getnonce()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA_Login::setFromWordPress()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA_Options::cb2fa_our_options()
S
80 1 3
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setup_admin_css()
S
64 1 10
cloudbridge2fa\Cloudbridge_2FA::cb2fa_admin_alert_missing_mbstring()
S
67 1 8
cloudbridge2fa\Cloudbridge_2FA_Login::set_html_mail_content_type()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA_Login::setAllowCookie()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA_Utility::x_have_mbstring()
S
82 1 3
run_cloudbridge2fa()
S
77 1 4
cb2fa_activation()
S
80 1 3
cloudbridge2fa\Cloudbridge_2FA_Login::getAllowCookie()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA_Login::setErrorMessage()
S
81 1 3
cloudbridge2fa\Cloudbridge_2FA::cb2fa_code_input_text_addon()
S
70 1 6
cloudbridge2fa\Cloudbridge_2FA::cb2fa_active_roles()
S
80 1 3
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_cookie_lifetime()
S
68 1 7
cloudbridge2fa\Cloudbridge_2FA_Login::getCookieTime()
S
79 1 3
cloudbridge2fa\Cloudbridge_2FA::cb2fa_setting_code_lifetime()
S
68 1 7