Code Analysis: User Switching 1.6.0

Most Complex Classes

Class Rating Complexity
user_switching
C
125

Most Complex Functions

Function Rating Complexity
user_switching::action_init()
B
21
switch_to_user()
A
14
user_switching::action_admin_bar_menu()
A
11
user_switching::action_admin_notices()
A
8
user_switching_clear_olduser_cookie()
A
8
user_switching::filter_user_has_cap()
S
7
user_switching_set_olduser_cookie()
S
5
user_switching_get_auth_cookie()
S
6
user_switching::action_bp_button()
S
5
user_switching::action_wp_footer()
S
5
user_switching::filter_login_message()
S
4
user_switching::authenticate_old_user()
S
4