user_switching D

Total Complexity 154
Dependencies 5
Dependents 4
Total lines 1,255
Lines of code 760
Logical lines of code 345
Comment lines 339
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
action_init()
B
35 21 87
get_redirect()
B
38 22 65
action_admin_bar_menu()
A
39 12 74
action_admin_notices()
A
40 8 73
filter_user_has_cap()
S
55 7 20
action_bp_button()
S
50 5 31
action_wp_footer()
S
54 5 22
get_admin_redirect_to()
S
56 5 20
forget_woocommerce_session()
S
59 5 16
filter_login_message()
S
51 4 30
authenticate_old_user()
S
59 4 15
action_plugins_loaded()
S
65 4 11
action_bbpress_button()
S
54 3 23
action_woocommerce_order_details()
S
57 3 17
filter_map_meta_cap()
S
66 4 8
maybe_switch_url()
S
63 4 10
action_personal_options()
S
58 2 18
action_wp_meta()
S
59 2 16
get_old_user()
S
64 3 10
filter_woocommerce_get_endpoint_url()
S
65 3 10
init_hooks()
S
50 1 27
filter_user_row_actions()
S
62 2 12
filter_plugin_row_meta()
S
63 2 11
remember()
S
65 2 8
switched_to_message()
S
61 1 15
switch_back_message()
S
61 1 15
switched_back_message()
S
61 1 15
current_url()
S
77 2 3
remove_query_args()
S
70 2 6
secure_olduser_cookie()
S
77 2 3
secure_auth_cookie()
S
77 2 3
filter_woocommerce_account_menu_items()
S
67 2 8
get_instance()
S
69 2 7
switch_to_url()
S
62 1 13
switch_back_url()
S
63 1 12
switch_off_url()
S
63 1 12
action_woocommerce_login_form_start()
S
80 1 3
filter_removable_query_args()
S
67 1 10
__construct()
S
98 1 1