Two_Factor_Core D

Total Complexity 268
Dependencies 6
Dependents 4
Total lines 2,234
Lines of code 1,153
Logical lines of code 603
Comment lines 794
Methods 66
Properties 1

Methods 66

Method Rating Maintainability Complexity Lines of code
user_two_factor_options_update()
B
43 20 46
login_html()
B
32 12 139
_login_form_validate_2fa()
A
38 12 67
uninstall()
A
46 10 44
user_two_factor_options()
A
44 9 42
_login_form_revalidate_2fa()
A
43 8 51
process_provider()
A
46 8 40
get_provider_for_user()
A
53 9 22
render_user_providers_form()
A
41 6 62
maybe_show_reset_password_notice()
S
50 7 29
login_form_validate_2fa()
S
58 8 13
current_user_can_update_two_factor_options()
S
52 7 25
verify_login_nonce()
S
55 7 18
get_primary_provider_for_user()
S
53 6 23
get_providers()
S
53 5 22
disable_provider_for_user()
S
58 5 15
get_providers_classes()
S
58 5 15
get_available_providers_for_user()
S
58 5 15
filter_session_information()
S
60 5 14
fetch_user()
S
62 5 11
create_login_nonce()
S
53 4 22
filter_authenticate()
S
64 5 9
is_api_request()
S
66 5 9
login_url()
S
59 4 15
is_valid_user_action()
S
63 5 10
update_current_user_session()
S
58 4 14
show_two_factor_login()
S
61 4 11
login_form_revalidate_2fa()
S
64 4 8
filter_authenticate_block_cookies()
S
69 4 6
get_enabled_providers_for_user()
S
60 3 13
enable_provider_for_user()
S
62 3 11
manage_users_custom_column()
S
62 3 11
get_user_settings_page_url()
S
63 3 11
maybe_show_last_login_failure_notice()
S
57 2 18
is_user_rate_limited()
S
64 3 9
trigger_user_settings_action()
S
67 3 7
get_primary_provider_key_selected_for_user()
S
65 3 8
send_password_reset_emails()
S
66 3 8
current_user_being_edited()
S
65 3 9
get_current_user_session()
S
65 3 9
rest_api_can_edit_user_and_update_two_factor_options()
S
65 3 9
add_hooks()
S
52 1 23
notify_admin_user_password_reset()
S
57 1 20
notify_user_password_reset()
S
57 1 19
is_current_user_session_two_factor()
S
68 2 7
rememberme()
S
67 2 7
wp_login()
S
66 2 9
enable_dummy_method_for_debug()
S
70 2 6
is_wp_debug()
S
79 2 3
get_user_time_delay()
S
62 2 10
destroy_current_session_for_user()
S
70 2 6
hash_login_nonce()
S
68 2 7
collect_auth_cookie_tokens()
S
70 2 6
get_user_two_factor_revalidate_url()
S
65 2 9
show_password_reset_error()
S
61 1 13
get_user_update_action_url()
S
63 1 12
reset_compromised_password()
S
64 1 9
should_reset_password()
S
71 1 5
clear_password_reset_notice()
S
79 1 3
get_recommended_providers()
S
69 1 7
is_user_using_two_factor()
S
75 1 4
get_supported_providers_for_user()
S
72 1 5
get_default_providers()
S
65 1 9
delete_login_nonce()
S
79 1 3
is_user_api_login_enabled()
S
69 1 7
filter_manage_users_columns()
S
75 1 4