user_switching D

Total Complexity 151
Dependencies 5
Dependents 4
Total lines 1,166
Lines of code 675
Logical lines of code 342
Comment lines 339
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
action_init()
B
35 20 83
get_redirect()
B
38 21 64
action_admin_bar_menu()
A
42 12 57
action_admin_notices()
A
41 7 65
action_bp_button()
A
48 7 33
filter_user_has_cap()
S
55 7 20
get_admin_redirect_to()
S
56 5 20
action_wp_footer()
S
56 5 19
filter_login_message()
S
53 4 24
authenticate_old_user()
S
59 4 15
forget_woocommerce_session()
S
61 4 13
action_plugins_loaded()
S
65 4 11
action_bbpress_button()
S
55 3 20
filter_map_meta_cap()
S
66 4 8
maybe_switch_url()
S
63 4 10
action_woocommerce_order_details()
S
59 3 14
action_personal_options()
S
58 2 18
get_old_user()
S
64 3 10
filter_woocommerce_get_endpoint_url()
S
65 3 10
action_wp_meta()
S
61 2 13
init_hooks()
S
50 1 27
filter_user_row_actions()
S
62 2 12
filter_plugin_row_meta()
S
63 2 11
current_url()
S
77 2 3
get_instance()
S
69 2 7
secure_olduser_cookie()
S
77 2 3
secure_auth_cookie()
S
77 2 3
remember()
S
65 2 8
filter_woocommerce_account_menu_items()
S
67 2 8
switched_to_message()
S
64 1 11
switch_back_message()
S
64 1 11
switched_back_message()
S
64 1 11
switch_back_url()
S
69 1 6
action_woocommerce_login_form_start()
S
80 1 3
filter_removable_query_args()
S
70 1 7
switch_to_url()
S
68 1 7
switch_off_url()
S
69 1 6
remove_query_args()
S
79 1 3
__construct()
S
98 1 1