Jetpack_SSO D

Total Complexity 134
Dependencies 12
Dependents 0
Total lines 1,231
Lines of code 751
Logical lines of code 328
Comment lines 347
Methods 37
Properties 1

Methods 37

Method Rating Maintainability Complexity Lines of code
handle_login()
D
27
29 150
login_init()
A
46 12 37
login_form()
A
39 9 77
save_cookies()
S
53 6 20
clear_cookies_after_login()
S
50 4 36
login_body_class()
S
61 5 13
get_sso_url_or_die()
S
52 4 26
build_reauth_and_sso_url()
S
52 4 25
request_initial_nonce()
S
53 4 23
store_wpcom_profile_cookies_on_logout()
S
50 3 33
maybe_authorize_user_after_sso()
S
56 4 16
clear_wpcom_profile_cookies()
S
54 3 24
sso_reminder_logout_wpcom()
S
56 3 20
delete_connection_for_user()
S
56 3 19
wants_to_login()
S
64 4 9
build_sso_url()
S
59 3 14
display_sso_login_form()
S
59 3 14
login_enqueue_scripts()
S
61 3 12
register_settings()
S
52 1 32
xmlrpc_user_disconnect()
S
57 2 17
build_sso_button()
S
61 2 13
get_user_by_wpcom_id()
S
63 2 11
__construct()
S
57 1 16
disconnect()
S
74 2 5
get_instance()
S
69 2 7
validate_jetpack_sso_match_by_email()
S
78 2 3
build_sso_button_url()
S
63 2 10
validate_jetpack_sso_require_two_step()
S
78 2 3
maybe_logout_user()
S
64 2 10
print_inline_admin_css()
S
73 1 14
render_match_by_email()
S
64 1 13
render_require_two_step()
S
64 1 13
profile_page_url()
S
80 1 3
xmlrpc_methods()
S
75 1 4
module_configure_button()
S
80 1 3
is_user_connected()
S
80 1 3
get_user_data()
S
79 1 3