Jetpack_SSO D

Total Complexity 134
Dependencies 13
Dependents 1
Total lines 1,250
Lines of code 737
Logical lines of code 319
Comment lines 380
Methods 36
Properties 2

Methods 36

Method Rating Maintainability Complexity Lines of code
handle_login()
D
27
29 150
login_init()
A
46 13 37
login_form()
A
39 9 77
save_cookies()
S
53 6 20
__construct()
S
51 5 25
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 34
maybe_authorize_user_after_sso()
S
56 4 16
login_enqueue_scripts()
S
53 3 28
sso_reminder_logout_wpcom()
S
56 3 20
wants_to_login()
S
64 4 9
build_sso_url()
S
59 3 14
display_sso_login_form()
S
59 3 14
xmlrpc_user_disconnect()
S
57 2 17
register_settings()
S
52 1 32
build_sso_button()
S
61 2 13
get_user_by_wpcom_id()
S
63 2 11
maybe_logout_user()
S
64 2 10
validate_jetpack_sso_match_by_email()
S
78 2 3
validate_jetpack_sso_require_two_step()
S
78 2 3
disconnect()
S
74 2 5
get_instance()
S
69 2 7
build_sso_button_url()
S
63 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
is_user_connected()
S
80 1 3
module_configure_button()
S
80 1 3
use_wp_admin_interface()
S
79 1 3
xmlrpc_methods()
S
75 1 4
profile_page_url()
S
80 1 3
get_user_data()
S
79 1 3