Jetpack_SSO D

Total Complexity 129
Dependencies 11
Dependents 0
Total lines 1,202
Lines of code 732
Logical lines of code 321
Comment lines 340
Methods 36
Properties 1

Methods 36

Method Rating Maintainability Complexity Lines of code
handle_login()
D
27
29 150
login_form()
A
39 9 77
login_init()
A
46 10 39
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
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
build_sso_button_url()
S
63 2 10
__construct()
S
57 1 15
disconnect()
S
74 2 5
get_instance()
S
69 2 7
validate_jetpack_sso_match_by_email()
S
78 2 3
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