Code Analysis: WP Authenticator 1.1.1

Function Rating Maintainability Complexity Lines of code
wpga_user_profile_fields()
A
36 11 87
WPGA_Authenticate::authenticate()
A
43 13 51
wpga_edit_secret()
A
45 11 43
WPGA_Recovery_Key::get_key_by()
A
49 12 26
WPGA_Settings::settings_page()
A
46 9 38
wpga_force_set_secret()
A
49 8 27
wpas_apps_passwords_actions()
A
53 8 22
wpga_admin_custom_profile_fields()
S
45 6 40
wpga_option_callback_user_roles()
S
47 6 38
WPGA_Settings::save_options()
S
54 7 21
wpga_is_2fa_forced()
S
57 7 16
WPGA_User::remaining_attempts()
S
57 7 16
wpga_is_2fa_active()
S
61 7 11
wpga_save_profile_custom_fields()
S
52 6 25
wpga_admin_notices()
S
51 6 25
WP_Google_Authenticator::init()
S
53 6 23
WPGA_Authenticate::checkAppPassword()
S
52 6 23
WPGA_Access_Log::log_access()
S
53 6 21
WPGA_User::is_otp_valid()
S
53 6 20
WP_Google_Authenticator::includes()
S
52 5 26
WPGA_User::__construct()
S
62 6 11
WPGA_Recovery_Key::add_key()
S
53 5 21
wpga_base32_decode()
S
42 3 51
wpga_ajax_callback()
S
54 5 19
wpga_get_last_access()
S
56 5 18
WP_Google_Authenticator::display_error()
S
54 4 23
wpga_get_settings()
S
42 1 63
wpga_create_app_password()
S
56 4 18
wpga_uninstallPlugin()
S
49 3 32
WPGA_Settings::_get_context()
S
68 5 7
wpga_reset_app_passwords()
S
60 4 13
wpga_option_callback_checkbox()
S
59 4 13
WPGA_Recovery_Key::get_recovery_keys()
S
61 4 12
wpga_register_notice()
S
63 4 11
WPGA_Settings::_set_defaults()
S
64 4 9
WPGA_User::has_2fa()
S
64 4 10
WPGA_User::login_attempts()
S
63 4 10
WPGA_Settings::network_settings_page()
S
58 3 15
wpga_version_footer()
S
67 4 6
wpga_load_admin_scripts()
S
65 4 7
wpga_contextual_help()
S
58 3 15
wpga_make_unique_key()
S
60 3 14
wpga_apps_access_log_create_table()
S
56 2 20
wpga_recovery_keys_create_table()
S
56 2 20
wpga_customize_login_form()
S
61 2 16
wpga_get_code()
S
56 2 16
wpga_revoke_totp()
S
65 3 9
WPGA_Recovery_Key::generate_key()
S
66 3 9
WP_Google_Authenticator::is_version_compatible()
S
66 3 9
WP_Google_Authenticator::multisite_check()
S
70 3 5
WP_Google_Authenticator::is_php_version_enough()
S
66 3 9
WPGA_Settings::_set_values()
S
66 3 8
WPGA_Recovery_Key::key_exists()
S
68 3 7
WPGA_Recovery_Key::get_key_code()
S
70 3 6
WPGA_Recovery_Key::delete_key()
S
64 3 9
WPGA_Settings::get_settings_options()
S
66 3 9
WP_Google_Authenticator::add_error()
S
69 3 6
WPGA_Authenticate::get_totp()
S
70 3 6
WP_Google_Authenticator::instance()
S
68 3 7
WP_Google_Authenticator::is_network_enabled()
S
65 3 9
WPGA_Settings::get_option()
S
64 3 9
wpga_add_user_2fa_column()
S
64 3 10
wpga_was_otp_used()
S
66 3 8
wpga_get_app_passwords_log()
S
65 3 9
wpga_installPlugin()
S
60 2 13
WP_Google_Authenticator::load_plugin_textdomain()
S
60 2 12
WPGA_Recovery_Key::get()
S
62 2 11
wpga_get_option_page_link()
S
71 2 5
WPGA_Settings::_get_options()
S
72 2 6
wpga_generate_secret_key()
S
63 2 10
WPGA_Settings::get_default()
S
68 2 7
wpga_load_styles()
S
69 2 6
WPGA_Settings::_set_options()
S
66 2 8
wpga_get_app_passwords()
S
67 2 8
WPGA_User::is_recovery_key()
S
66 2 8
WPGA_User::has_app_passwords()
S
79 2 3
WPGA_User::get_app_passwords_codes()
S
67 2 8
wpga_get_editable_roles()
S
64 2 10
WPGA_Settings::update_option()
S
69 2 7
WPGA_Authenticate::has_app_passwords()
S
68 2 8
WPGA_Settings::__construct()
S
65 2 9
WPGA_Recovery_Key::generate_random_key()
S
63 2 9
WPGA_Settings::add_option()
S
69 2 7
WPGA_Settings::_get_values()
S
72 2 6
WPGA_User::get_secret()
S
70 2 6
WPGA_Settings::get_defaults()
S
71 2 6
WPGA_User::get_app_passwords()
S
70 2 6
WPGA_Recovery_Key::type_exists()
S
77 2 3
wpga_2fa_usr_column_content()
S
65 2 8
WP_Google_Authenticator::setup_constants()
S
68 1 13
WPGA_Settings::get_settings()
S
79 1 3
WPGA_User::add_attempt()
S
70 1 6
WPGA_Settings::get_options()
S
78 1 3
WPGA_User::deactivate_2fa()
S
69 1 7
wpas_get_login_attempts()
S
76 1 4
WPGA()
S
82 1 3
wpas_get_remaining_login_attempts()
S
76 1 4
WPGA_Access_Log::get_entries_by()
S
98 1 1
wpga_generate_backup_key()
S
82 1 3
WPGA_Settings::delete_option()
S
98 1 1
wpga_option_callback_text()
S
74 1 4
WPGA_Access_Log::get_entries()
S
98 1 1
WPGA_Settings::get_field_name()
S
79 1 3
WPGA_Authenticate::__construct()
S
74 1 4
wpga_clear_log()
S
76 1 4
wpga_get_user_recovery_keys()
S
81 1 3
WPGA_Settings::_setup_options()
S
80 1 3
WP_Google_Authenticator::__wakeup()
S
78 1 3
WP_Google_Authenticator::setup_database_constants()
S
73 1 7
WPGA_Recovery_Key::get_keys()
S
81 1 3
wpga_check_recovery_key()
S
76 1 4
wpga_option_callback_text_small()
S
80 1 3
wpga_disable_2fa()
S
77 1 4
wpga_get_qr_code_info()
S
66 1 7
WPGA_Recovery_Key::get_user_keys()
S
79 1 3
wpga_clean_totps()
S
82 1 3
wpga_get_valid_chars()
S
62 1 9
wpga_add_app_password_menu()
S
66 1 9
wpga_login_redirect_notify()
S
79 1 3
wpga_apps_passwords_display()
S
80 1 3
wpas_increment_attempts()
S
76 1 4
wpga_settings_page_link()
S
71 1 5
WP_Google_Authenticator::__clone()
S
78 1 3
wpga_delete_app_password()
S
81 1 3
wpga_get_option()
S
80 1 3