| Class | Rating | Complexity |
|---|---|---|
| WP_User_Role_Switcher | 36 |
| Function | Rating | Complexity |
|---|---|---|
| WP_User_Role_Switcher::switch_role() | 10 | |
| WP_User_Role_Switcher::init() | 9 | |
| WP_User_Role_Switcher::get_switchable_roles() | 3 | |
| WP_User_Role_Switcher::add_admin_bar_menu() | 2 | |
| WP_User_Role_Switcher::add_floating_button() | 2 | |
| WP_User_Role_Switcher::redirect_user() | 3 | |
| WP_User_Role_Switcher::admin_success_notice() | 2 | |
| WP_User_Role_Switcher::admin_error_notice() | 2 | |
| WP_User_Role_Switcher::admin_switch_back_notice() | 2 | |
| WP_User_Role_Switcher::get_switch_back_link() | 1 |