Code Analysis: Client Dash 2.2.1

Function Rating Maintainability Complexity Lines of code
ClientDash_Modify::modify_menu()
D
25
48 144
ClientDash_Customize::save_menu_preview()
C
34 25 93
ClientDash_Upgrade::migrate_admin_menus()
C
33 22 103
ClientDash_Modify::modify_dashboard()
B
43 19 45
ClientDash_Helper_Pages::get_pages()
B
33 12 112
RBM_FH_Field_Select::__construct()
A
42 15 52
ClientDash_Upgrade::migrate_helper_pages()
A
42 15 50
ClientDash::register_assets()
A
42 13 55
ClientDash_Customize::save_dashboard_preview()
A
43 13 46
RBM_FH_Field_Select::legacy_options_support()
A
46 13 43
ClientDash_Customize::get_tutorial_panels()
A
29 1 202
RBM_FieldHelpers::register_scripts()
A
46 11 38
RBM_FH_Field_Repeater::__construct()
A
54 10 21
RBM_FH_Field::__construct()
A
44 8 49
RBM_FH_FieldsSave::save_meta_fields()
A
48 9 33
RBM_FH_FieldsSave::save_option_fields()
A
48 9 32
ClientDash_Upgrade::migrate_dashboard_widgets()
A
47 8 35
ClientDash_Helper_Pages::add_pages()
A
49 8 33
RBM_FH_Field_DateTimePicker::php_date_to_flatpickr()
A
42 6 60
cd_get_dir_size()
A
51 8 27
RBM_FH_Field_Repeater::do_fields()
A
47 7 37
RBM_FH_Field_Checkbox::field()
A
53 8 21
rbm_do_field_taxonomy()
S
48 7 29
ClientDash_Modify::get_customizations()
S
52 7 26
ClientDash_DB::update_customizations()
S
47 6 40
ClientDash_Customize::localize_data()
S
36 3 81
ClientDash_Customize::modify_caps()
S
55 7 20
ClientDash_Helper_Pages::load_user_pages()
S
56 7 17
RBM_FH_FieldsSave::initialize_fields()
S
50 6 29
RBM_FH_Field::get_value()
S
60 7 12
ClientDash_Settings::add_settings_fields()
S
40 3 72
ClientDash_Customize::process_submenu_item()
S
52 6 23
RBM_FH_Fields::get_meta_field()
S
54 6 19
RBM_FH_Field::get_meta_value()
S
56 6 18
ClientDash_Customize::__construct()
S
49 5 31
ClientDash_REST_Customizations_Controller::prepare_item_for_response()
S
65 7 8
ClientDash_REST_Customizations_Controller::delete_item()
S
48 4 35
ClientDash_Helper_Pages::add_widgets()
S
56 5 18
ClientDash_Upgrade::__construct()
S
57 5 16
ClientDash_DB::get_customizations()
S
54 4 24
ClientDash_Bootstrapper::maybe_load()
S
54 4 21
ClientDash_PluginPages::add_pages()
S
45 2 51
ClientDash_Modify::get_processed_submenu_item_id()
S
55 4 18
ClientDash_PluginPages::__construct()
S
56 4 18
ClientDash_Customize::custom_widget_callback()
S
57 4 16
RBM_FieldHelpers::wp_parse_args_recursive()
S
59 4 15
RBM_FH_Field_Repeater::field()
S
58 4 15
ClientDash_Upgrade::migrate_admin_page()
S
59 4 15
ClientDash_PluginPages::load_addons()
S
58 4 15
cd_format_dir_size()
S
60 4 14
RBM_FH_FieldTemplates::maybe_override_template()
S
52 3 28
rbm_helper_field_link()
S
50 3 27
ClientDash_Upgrade::show_upgrade_nag()
S
48 2 42
cd_array_get_index_by_key()
S
63 4 11
ClientDash_REST_Customizations_Controller::update_item()
S
52 3 26
RBM_FH_Field::get_input_atts()
S
61 4 11
ClientDash::require_necessities()
S
53 3 24
ClientDash_Helper_Pages::shortcode_feed()
S
55 3 21
ClientDash_Helper_Pages::load_page()
S
56 3 19
ClientDash_Upgrade::get_old_helper_pages()
S
57 3 17
RBM_FH_Field_Radio::field()
S
57 3 17
ClientDash_Bootstrapper::maybe_nag_client_dash_pro()
S
56 3 17
ClientDash_Helper_Pages::load_cd_page_help_tab_info()
S
57 3 16
RBM_FH_Field_Media::__construct()
S
65 4 9
RBM_FH_Field_TextArea::field()
S
62 4 10
ClientDash_PluginPages::get_current_tab()
S
66 4 8
RBM_FH_Field_DateTimePicker::__construct()
S
59 3 14
ClientDash_DB::delete_customizations()
S
60 3 14
rbm_do_field_repeater()
S
60 3 13
RBM_FieldHelpers::enqueue_scripts()
S
62 3 12
RBM_FH_Fields::get_option_field()
S
60 3 12
RBM_FH_Fields::setup_data()
S
62 3 12
ClientDash_Customize::process_menu_item()
S
61 3 12
RBM_FH_Field_DatePicker::__construct()
S
61 3 12
RBM_FH_Field_TimePicker::__construct()
S
61 3 12
cd_widget_allowed_posttags()
S
52 2 27
RBM_FieldHelpers::__construct()
S
46 1 40
ClientDash_Bootstrapper::notices()
S
57 2 23
ClientDash::setup_fieldhelpers()
S
47 1 37
ClientDash_REST_Customizations_Controller::create_item()
S
54 2 20
ClientDash_REST_Customizations_Controller::register_routes()
S
50 1 32
rbm_fh_deprecated_support()
S
66 3 8
RBM_FH_Field::get_option_value()
S
64 3 9
RBM_FH_FieldsSave::save_meta_fields_hook()
S
64 3 9
RBM_FH_FieldsSave::save_option_fields_hook()
S
65 3 9
ClientDash_Customize::get_role()
S
64 3 10
RBM_FH_Fields::setup_translations()
S
64 3 10
ClientDash_DB::get_role_menu()
S
63 3 10
ClientDash_Upgrade::get_old_nav_menus()
S
64 3 10
ClientDash_DB::get_role_dashboard()
S
63 3 10
ClientDash_DB::get_role_submenu()
S
63 3 10
ClientDash_Customize::is_saving_role()
S
77 3 3
ClientDash_Upgrade::show_upgraded_nag()
S
61 2 14
ClientDash_Upgrade::init_upgrade()
S
63 2 12
RBM_FH_Fields::__construct()
S
52 1 26
RBM_FH_Fields::do_field_repeater()
S
55 1 19
ClientDash_Upgrade::show_upgrade_nag_no_migration()
S
59 1 18
ClientDash_Settings::register_settings()
S
58 1 18
ClientDash_Customize::get_custom_dashboard_widgets()
S
58 1 17
rbm_replace_taxonomy_mb()
S
59 1 16
ClientDash_Customize::is_customizing()
S
77 2 3
ClientDash_REST_Customizations_Controller::delete_item_permissions_check()
S
69 2 6
ClientDash_Customize::in_customizer()
S
77 2 3
ClientDash::instance()
S
69 2 7
cd_get_field()
S
74 2 4
cd_get_template()
S
65 2 9
cd_get_option_field()
S
74 2 4
RBM_FieldHelpers::getInstance()
S
70 2 7
RBM_FH_FieldTemplates::__construct()
S
59 1 15
RBM_FH_FieldTemplates::template_description_after_label()
S
72 2 5
RBM_FH_FieldTemplates::template_description_beneath()
S
72 2 5
RBM_FH_FieldTemplates::template_description()
S
68 2 7
RBM_FH_FieldsSave::__construct()
S
69 2 7
ClientDash_Customize::modify_current_user()
S
66 2 9
ClientDash_REST_Customizations_Controller::authorization_status_code()
S
70 2 7
ClientDash_Customize::process_dashboard_item()
S
65 2 9
RBM_FH_Fields::do_field_number()
S
58 1 15
ClientDash_Helper_Pages::__construct()
S
66 2 8
ClientDash_REST_Customizations_Controller::get_item_permissions_check()
S
69 2 6
RBM_FH_Field_Checkbox::__construct()
S
72 2 5
RBM_FH_Field_DatePicker::field()
S
64 2 9
RBM_FH_Field_DateTimePicker::field()
S
64 2 9
cd_array_search_by_key()
S
68 2 7
ClientDash_REST_Customizations_Controller::create_item_permissions_check()
S
69 2 6
ClientDash_Upgrade::get_old_widgets()
S
67 2 8
RBM_FH_Field_List::field()
S
69 2 6
ClientDash_Bootstrapper::cd_pro_admin_notice()
S
63 1 15
RBM_FH_Field_Media::field()
S
65 2 8
ClientDash_Core_Page_Settings_Tab_Widgets::register_widget()
S
70 2 6
ClientDash_Core_Page_Settings_Tab_Widgets::add_widgets()
S
72 2 5
ClientDash_REST_Customizations_Controller::update_item_permissions_check()
S
69 2 6
RBM_FH_Field_TextArea::__construct()
S
70 2 6
RBM_FH_Field_TimePicker::field()
S
64 2 9
RBM_FH_Fields::do_field_media()
S
59 1 14
ClientDash_Customize::unload_wordpress()
S
59 1 14
ClientDash_Install::setup_tables()
S
62 1 13
RBM_FH_Fields::do_field_select()
S
61 1 12
ClientDash_PluginPages::reset_all_settings()
S
62 1 12
ClientDash_PluginPages::enable_customize_tutorial()
S
62 1 12
cd_get_field_tip()
S
66 1 12
ClientDash::action_links()
S
62 1 11
ClientDash_Helper_Pages::load_cd_page_reports_tab_site()
S
62 1 11
rbm_do_field_image()
S
62 1 11
rbm_do_field_select()
S
70 1 6
RBM_FH_Field_HTML::__construct()
S
79 1 3
cd_do_field_hidden()
S
79 1 3
ClientDash_Menus_API::_add_items()
S
89 1 2
rbm_do_field_number()
S
70 1 6
ClientDash_Widgets_API::get_field()
S
81 1 3
ClientDash_Widgets_API::select_field()
S
81 1 3
RBM_FH_Fields::do_field_password()
S
69 1 6
rbm_do_field_media()
S
70 1 6
ClientDash_API::register_rest_routes()
S
73 1 5
cd_do_field_radio()
S
79 1 3
RBM_FH_Fields::do_field_datetimepicker()
S
64 1 9
cd_do_field_table()
S
79 1 3
ClientDash_Customize::reset_enqueues()
S
69 1 7
ClientDash_PluginPages::sidebar_addons_rbp_promote()
S
80 1 3
ClientDash_Helper_Pages::load_cd_page_account_tab_about()
S
69 1 6
rbm_do_field_datepicker()
S
70 1 6
ClientDash_Helper_Pages::load_cd_page_admin_page_tab_main()
S
72 1 5
cd_do_field_html()
S
79 1 3
ClientDash_Settings_API::textarea_field()
S
81 1 3
rbm_do_field_timepicker()
S
70 1 6
ClientDash_PluginPages::load_admin_page()
S
71 1 5
ClientDash::enqueue_assets()
S
73 1 6
RBM_FH_FieldsSave::field_init()
S
68 1 7
rbm_do_field_datetimepicker()
S
70 1 6
ClientDash_Helper_Pages::load_cd_page_admin_page_tab_feed()
S
71 1 5
cd_do_field_repeater()
S
79 1 3
ClientDash_PluginPages::settings_page_other()
S
72 1 5
rbm_do_field_colorpicker()
S
70 1 6
ClientDash_Settings_API::get_field_name()
S
81 1 3
RBM_FH_Field_Text::__construct()
S
80 1 3
ClientDash_Upgrade::needs_update()
S
78 1 3
rbm_do_field_list()
S
70 1 6
ClientDash_DB::delete_everything()
S
75 1 4
cd_do_field_text()
S
79 1 3
ClientDash_Settings_API::text_field()
S
81 1 3
cd_do_field_number()
S
79 1 3
ClientDash_Settings_API::get_field_ID()
S
81 1 3
ClientDash_Customize::rest_update_user_field()
S
79 1 3
ClientDash_PluginPages::sidebar_pro_prompt()
S
80 1 3
rbm_do_field_table()
S
70 1 6
RBM_FH_Field_List::__construct()
S
80 1 3
cd_field_tip()
S
81 1 3
ClientDash_Settings_API::get_field()
S
81 1 3
rbm_do_field_wysiwyg()
S
68 1 7
ClientDash_Helper_Pages::load_cd_page_account_tab_sites()
S
72 1 5
ClientDash_Upgrade::upgrade()
S
76 1 4
ClientDash_Menus_API::add_menu_group()
S
89 1 2
RBMFH()
S
82 1 3
ClientDash_REST_Customizations_Controller::get_item()
S
70 1 6
cd_do_field_media()
S
79 1 3
ClientDash_Widgets_API::checkbox_field()
S
81 1 3
cd_do_field_list()
S
79 1 3
RBM_FH_Field_ColorPicker::__construct()
S
80 1 3
RBM_FH_Fields::do_field_checkbox()
S
67 1 7
ClientDash_PluginPages::sidebar_admin_page_actions()
S
80 1 3
cd_get_role_menus()
S
81 1 3
ClientDash_Widgets_API::_get_field_name_array()
S
81 1 3
RBM_FH_Field_Number::__construct()
S
80 1 3
RBM_FH_Fields::do_field_timepicker()
S
64 1 9
ClientDashDB()
S
82 1 3
RBM_FH_Fields::do_field_textarea()
S
63 1 10
ClientDash_Widgets_API::text_field()
S
81 1 3
ClientDash_API::__construct()
S
79 1 3
ClientDash_PluginPages::load_helper_pages()
S
71 1 5
ClientDash_Widgets_API::get_field_ID()
S
81 1 3
RBM_FH_Field_HTML::field()
S
77 1 3
RBM_FH_FieldTemplates::do_field()
S
78 1 3
cd_is_core_page()
S
78 1 3
RBM_FH_Fields::do_field_html()
S
69 1 6
ClientDash_Settings_API::close_form_table()
S
81 1 3
ClientDash_Widgets_API::close_form_table()
S
81 1 3
cd_do_field_datetimepicker()
S
79 1 3
ClientDash_Helper_Pages::load_cd_page_help_tab_domain()
S
69 1 6
RBM_FH_Field_Hidden::field()
S
77 1 3
RBM_FH_Fields::do_field_hook()
S
69 1 6
cd_init_field_group()
S
82 1 3
RBM_FH_Field_Text::field()
S
77 1 3
ClientDash_Helper_Pages::load_widget()
S
72 1 5
RBM_FieldHelpers::__wakeup()
S
91 1 2
ClientDash::translate_name_to_id()
S
77 1 3
ClientDash_PluginPages::sidebar_settings_page_actions()
S
80 1 3
ClientDash_Settings_API::register_field()
S
89 1 2
ClientDash_Widgets_API::register_field()
S
81 1 3
cd_do_field_textarea()
S
79 1 3
ClientDash_Customize::load_actions()
S
79 1 3
ClientDash_Widgets_API::textarea_field()
S
81 1 3
ClientDash::__construct()
S
66 1 8
cd_get_role_dashboard()
S
81 1 3
RBM_FH_Fields::do_field_toggle()
S
63 1 10
ClientDash_Widgets_API::open_form_table()
S
81 1 3
ClientDash_PluginPages::register_settings()
S
80 1 3
ClientDash_Widgets_API::_get_unique_ID()
S
81 1 3
ClientDash_Customize::template_footer()
S
81 1 3
RBM_FH_FieldTemplates::template_label()
S
78 1 3
ClientDash_Customize::enqueue_assets()
S
75 1 5
ClientDash_Settings::__construct()
S
79 1 3
ClientDash_Modify::__construct()
S
75 1 4
ClientDash_PluginPages::load_settings()
S
74 1 4
rbm_fh_deprecated_save_meta()
S
82 1 3
RBM_FH_Fields::get_field()
S
79 1 3
ClientDash_Customize::inject_template()
S
75 1 5
ClientDash::__wakeup()
S
91 1 2
RBM_FH_Fields::do_field_text()
S
69 1 6
ClientDash_Upgrade::migrate()
S
73 1 6
ClientDash_Customize::template_body()
S
81 1 3
ClientDash_Customize::preview_scripts()
S
78 1 4
ClientDash::add_content_section()
S
91 1 2
RBM_FH_Field_Table::__construct()
S
80 1 3
RBM_FH_Fields::do_field_datepicker()
S
64 1 9
ClientDash::is_cd_page()
S
81 1 3
RBM_FH_Fields::localize_data()
S
76 1 4
ClientDash_Customize::load()
S
70 1 6
ClientDash_Widgets_API::get_field_name()
S
81 1 3
ClientDash_Modify::get_processed_dashboard_item_id()
S
76 1 4
ClientDash_PluginPages::sidebar_review_support()
S
70 1 6
RBM_FH_Field_Password::__construct()
S
80 1 3
RBM_FH_Field_Password::field()
S
77 1 3
ClientDash_REST_Customizations_Controller::prepare_item_for_database()
S
67 1 8
RBM_FH_Fields::do_field_list()
S
67 1 7
ClientDash_PluginPages::flush_addons_cache()
S
74 1 5
ClientDash_REST_Customizations_Controller::__construct()
S
77 1 4
ClientDash_Customize::template_header()
S
81 1 3
RBM_FH_FieldTemplates::template_field()
S
77 1 3
rbm_do_field_text()
S
70 1 6
cd_get_core_pages()
S
77 1 4
cd_do_field_colorpicker()
S
79 1 3
RBM_FH_Field_Toggle::__construct()
S
80 1 3
ClientDash_Customize::strip_enqueues()
S
71 1 6
rbm_get_field()
S
75 1 4
ClientDash_Bootstrapper::__construct()
S
75 1 4
clientdash_custom_widget_text()
S
74 1 4
cd_do_field_toggle()
S
79 1 3
ClientDash_Settings_API::checkbox_field()
S
81 1 3
rbm_mb_taxonomy()
S
78 1 3
ClientDash_Menus_API::group_output()
S
89 1 2
cd_template()
S
73 1 5
RBM_FH_Field_Hidden::__construct()
S
80 1 3
cd_dashicon_selector()
S
66 1 8
ClientDash_Helper_Pages::get_user_pages()
S
82 1 3
cd_do_field_checkbox()
S
79 1 3
ClientDash::__clone()
S
91 1 2
cd_do_field_datepicker()
S
79 1 3
RBM_FH_Field_Number::field()
S
77 1 3
ClientDash_Install::install()
S
74 1 5
ClientDash_Bootstrapper::load()
S
77 1 4
ClientDash_Settings_API::select_field()
S
81 1 3
ClientDash_Widgets_API::_update_field()
S
81 1 3
ClientDash_PluginPages::sidebar_rbp_signup()
S
80 1 3
RBM_FH_Field::input_atts()
S
79 1 3
RBM_FieldHelpers::get_localized_data()
S
65 1 9
ClientDash_PluginPages::sidebar_helper_pages_actions()
S
80 1 3
RBM_FH_Field_Table::field()
S
77 1 3
ClientDash_Modify::get_processed_menu_item_id()
S
76 1 4
RBM_FH_Field_ColorPicker::field()
S
73 1 4
RBM_FieldHelpers::__clone()
S
91 1 2
RBM_FH_Field_Radio::__construct()
S
80 1 3
ClientDash_Upgrade::has_old_settings()
S
66 1 9
ClientDash_PluginPages::settings_page_feed()
S
71 1 5
RBM_FH_Field_Hook::field()
S
77 1 3
RBM_FH_Fields::do_field_radio()
S
67 1 7
RBM_FH_Field_Hook::__construct()
S
80 1 3
cd_get_customizations()
S
81 1 3
ClientDash_Customize::title_tag()
S
71 1 5
cd_fieldhelpers()
S
82 1 3
cd_delete_customizations()
S
81 1 3
rbm_do_helper_field_button()
S
80 1 3
cd_do_field_timepicker()
S
79 1 3
cd_reset_all_settings()
S
67 1 9
cd_update_role_customizations()
S
80 1 3
ClientDash()
S
82 1 3
RBM_FH_Field_Toggle::field()
S
77 1 3
ClientDash_Widgets_API::_get_field_name()
S
81 1 3
ClientDash_Menus_API::loop()
S
89 1 2
ClientDash_Install::setup_capabilities()
S
75 1 4
RBM_FH_Field_Select::field()
S
77 1 3
RBM_FieldHelpers::includes()
S
70 1 6
RBM_FH_Fields::do_field_colorpicker()
S
64 1 9
rbm_do_field_radio()
S
70 1 6
rbm_field()
S
80 1 3
ClientDash_Helper_Pages::load_pages()
S
81 1 3
ClientDash_Settings_API::add_content_section()
S
91 1 2
ClientDash_Customize::rest_add_fields()
S
65 1 10
ClientDash_Settings_API::open_form_table()
S
81 1 3
RBM_FH_Field::field()
S
89 1 2
ClientDash_Upgrade::get_old_admin_page()
S
67 1 8
RBM_FieldHelpers::localize_data()
S
76 1 4
RBM_FH_Fields::do_field_hidden()
S
69 1 6
cd_do_field_select()
S
79 1 3
cd_add_core_page()
S
83 1 3
ClientDash::legacy_apis()
S
67 1 8
rbm_do_field_checkbox()
S
70 1 6
rbm_do_field_textarea()
S
70 1 6
RBM_FH_Fields::do_field_table()
S
67 1 7