Code Analysis: WPSS Ultimate User Management 1.1.0

Function Rating Maintainability Complexity Lines of code
WpssUserManager\Admin\WPSSPluginSettings::saveSettings()
A
47 8 37
WpssUserManager\Admin\WPSSWidgets::hide_widgets()
A
56 8 19
wpss_autoload()
S
51 7 26
WpssUserManager\Admin\WPSSUsers::add_user_roles()
S
54 7 21
WpssUserManager\Admin\WPSSCaps::remove_role_caps()
S
54 6 21
WpssUserManager\Admin\WPSSContentAccess::limit_role_content_access()
S
54 6 21
WpssUserManager\Admin\WPSSContentAccess::content_access_save_metadata()
S
55 6 20
WpssUserManager\Admin\WPSSAdminPages::remove_menu_items_from_role()
S
60 6 13
WpssUserManager\Admin\WPSSCaps::set_role_caps()
S
55 5 20
WpssUserManager\Admin\WPSSPluginHelper::in_array_m()
S
65 6 8
WpssUserManager\Admin\WPSSUsers::user_query()
S
59 5 15
WpssUserManager\Admin\WPSSRoles::move_users_without_role_to_default_role()
S
59 5 14
WpssUserManager\Admin\WPSSWidgets::hide_individual_widgets()
S
60 5 13
WpssUserManager\Admin\WPSSCaps::admin_capabilities()
S
61 5 12
WpssUserManager\Admin\WPSSUserRolesCapsManager::wpss_hide_admin_bar()
S
61 5 12
WpssUserManager\Admin\WPSSUsers::remove_user_roles()
S
56 4 19
WpssUserManager\Admin\WPSSUsers::get_users()
S
56 4 17
WpssUserManager\Admin\WPSSWidgets::get_admin_widgets()
S
58 4 16
WpssUserManager\Admin\WPSSWidgets::get_widget_title()
S
58 4 15
WpssUserManager\Admin\WPSSPostGet::post()
S
59 4 13
WpssUserManager\Admin\WPSSCaps::get_taxonomies_capabilities_list()
S
59 4 13
WpssUserManager\Admin\WPSSCaps::get_post_type_capabilities_list()
S
61 4 12
WpssUserManager\Admin\WPSSAdminFrontend::sanitize_output()
S
43 1 53
WpssUserManager\Admin\WPSSUserRolesCapsManager::__construct()
S
55 3 19
WpssUserManager\Admin\WPSSAdminPages::insert_options_action()
S
56 3 18
WpssUserManager\Admin\WPSSUsers::paginate_users()
S
56 3 18
WpssUserManager\Admin\WPSSRoles::remove_role_action()
S
57 3 16
WpssUserManager\Admin\WPSSCaps::set_capabilities_to_role_action()
S
58 3 14
WpssUserManager\Admin\WPSSRoles::get_roles_names()
S
60 3 14
WpssUserManager\Admin\WPSSAdminFrontend::render_template()
S
60 3 12
WpssUserManager\Admin\WPSSUsers::get_user()
S
61 3 12
WpssUserManager\Admin\WPSSPluginHelper::add_option()
S
63 3 11
WpssUserManager\Admin\WPSSWidgets::get_widget_blocks()
S
63 3 11
WpssUserManager\Admin\WPSSAdminPages::get_menu_list()
S
62 3 11
WpssUserManager\Admin\WPSSAdminPages::update_option()
S
62 3 11
WpssUserManager\Admin\WPSSPluginHelper::update_option()
S
63 3 11
WpssUserManager\Admin\WPSSPluginHelper::delete_option()
S
64 3 11
WpssUserManager\Admin\WPSSPluginInit::set_default_plugin_options()
S
57 2 17
WpssUserManager\Admin\WPSSContentAccess::content_access_metabox()
S
58 2 16
WpssUserManager\Admin\WPSSUserRolesCapsManager::is_plugin_menu_page()
S
67 3 7
WpssUserManager\Admin\WPSSPluginHelper::get_option()
S
64 3 10
WpssUserManager\Admin\WPSSPostGet::get()
S
65 3 8
WpssUserManager\Admin\WPSSRoles::add_role()
S
64 3 9
WpssUserManager\Admin\WPSSPluginInit::remove_plugin_options()
S
61 2 14
WpssUserManager\Admin\WPSSUsers::get_user_details_action()
S
61 2 13
WpssUserManager\Admin\WPSSRoles::add_role_action()
S
59 2 13
WpssUserManager\Admin\WPSSCaps::get_role_capabilities_action()
S
62 2 12
WpssUserManager\Admin\WPSSWidgets::save_widget_options()
S
62 2 11
WpssUserManager\Admin\WPSSWidgets::save_individual_widgets_permissions()
S
62 2 11
WpssUserManager\Admin\WPSSAdminFrontend::template_whitelist()
S
57 1 20
WpssUserManager\Admin\WPSSContentAccess::instance()
S
71 2 6
WpssUserManager\Admin\WPSSRoles::get_roles()
S
69 2 7
WpssUserManager\Admin\WPSSAdminPages::instance()
S
72 2 6
WpssUserManager\Admin\WPSSPluginSettings::instance()
S
72 2 6
WpssUserManager\Admin\WPSSAdminPages::get_option()
S
67 2 8
WpssUserManager\Admin\WPSSUserRolesCapsManager::instance()
S
72 2 6
WpssUserManager\Admin\WPSSUserRolesCapsManager::wpss_scripts_styles()
S
67 2 7
WpssUserManager\Admin\WPSSUsers::add_user_role_on_register()
S
66 2 8
WpssUserManager\Admin\WPSSAdminPages::set_option()
S
69 2 7
WpssUserManager\Admin\WPSSAdminPages::option_exists()
S
71 2 6
WpssUserManager\Admin\WPSSUserRolesCapsManager::wpss_ajax_check_referer()
S
68 2 7
WpssUserManager\Admin\WPSSAdminPages::get_admin_menu()
S
69 2 7
WpssUserManager\Admin\WPSSRoles::wpss_set_default_role()
S
69 2 7
WpssUserManager\Admin\WPSSUsers::instance()
S
72 2 6
WpssUserManager\Admin\WPSSRoles::remove_role()
S
69 2 7
WpssUserManager\Admin\WPSSWidgets::instance()
S
72 2 6
WpssUserManager\Admin\WPSSCaps::instance()
S
72 2 6
WpssUserManager\Admin\WPSSRoles::instance()
S
72 2 6
WpssUserManager\Admin\WPSSUsers::set_user_roles_action()
S
61 1 12
WpssUserManager\Admin\WPSSAdminFrontend::nav_menu_tabs()
S
62 1 11
WpssUserManager\Admin\WPSSUserRolesCapsManager::wpss_user_admin_menu()
S
63 1 11
WpssUserManager\Admin\WPSSPluginInit::setup()
S
72 1 5
WpssUserManager\Admin\WPSSCaps::__construct()
S
66 1 9
WpssUserManager\Admin\WPSSUsers::get_users_from_role()
S
75 1 4
WpssUserManager\Admin\WPSSAdminPages::__construct()
S
69 1 6
WpssUserManager\Admin\WPSSCaps::get_cap_by_role()
S
79 1 3
WpssUserManager\Admin\WPSSContentAccess::content_access_metabox_cb()
S
75 1 4
WpssUserManager\Admin\WPSSCaps::capabilities()
S
79 1 3
WpssUserManager\Admin\WPSSContentAccess::__construct()
S
72 1 5
WpssUserManager\Admin\WPSSRoles::__construct()
S
70 1 6
WpssUserManager\Admin\WPSSAdminFrontend::admin_main_content()
S
69 1 7
WpssUserManager\Admin\WPSSCaps::get_caps()
S
63 1 10
WpssUserManager\Admin\WPSSPluginSettings::__construct()
S
75 1 4
WpssUserManager\Admin\WPSSUsers::get_user_object()
S
80 1 3
WpssUserManager\Admin\WPSSWidgets::__construct()
S
67 1 7
WpssUserManager\Admin\WPSSUserRolesCapsManager::wpss_load_plugin_text_domain()
S
74 1 4
WpssUserManager\Admin\WPSSUsers::__construct()
S
68 1 7