Code Analysis: Editorial Rating 2.1.1

Function Rating Maintainability Complexity Lines of code
wpas_get_google_fonts()
D
4
1 1,079
WPAS_Fields::field_data()
D
24
57 148
WPAS::setup()
D
27
52 117
WPAS_Options::add_options_html()
D
26
48 116
WPAS_Fields::field_wp_query_data_title()
D
35 41 71
WPAS_Field_typography::render()
D
21
30 230
WPAS::add_admin_enqueue_scripts()
D
30 39 93
WPAS_Abstract::recursive_output_css()
D
36 41 61
WPAS_Field_select::render()
D
33 38 76
WPAS_Metabox::add_meta_box_content()
D
33 36 77
WPAS_Options::set_options()
D
35 34 74
WPAS_Field_border::output()
D
44 35 31
WPAS_Field_background::render()
C
25
22 194
WPAS_Comment_Metabox::add_comment_meta_box_content()
C
35 30 69
wpas_editorial_rating_widget()
C
33 28 87
WPAS::field()
C
36 27 68
WPAS_Editorial_Rating_Public_Display::wpas_shortcode_execute()
C
34 25 85
WPAS_Taxonomy_Options::save_taxonomy()
C
37 26 68
WPAS_Metabox::save_meta_box()
C
37 26 67
WPAS_Comment_Metabox::save_comment_meta_box()
C
37 26 67
WPAS_Profile_Options::save_profile()
C
37 25 67
WPAS_Nav_Menu_Options::wp_update_nav_menu_item()
C
37 25 67
WPAS_Shortcoder::get_shortcode()
C
40 26 47
WPAS_Field_group::render()
C
35 23 76
WPAS_Field_spacing::output()
B
42 25 41
WPAS_Customize_Options::add_section()
B
39 23 53
WPAS_Field_spacing::render()
B
36 20 71
WPAS_Taxonomy_Options::render_taxonomy_form_fields()
B
44 22 34
WPAS_Field_border::render()
B
34 18 90
WPAS_Field_typography::enqueue_google_fonts()
B
44 20 41
WPAS_Profile_Options::render_profile_form_fields()
B
46 19 30
WPAS_Field_dimensions::render()
B
41 17 51
WPAS_Field_typography::output()
B
43 17 45
WPAS_Shortcoder::add_footer_modal_shortcode()
B
40 16 56
WPAS_Field_checkbox::render()
A
41 15 52
WPAS_Field_radio::render()
A
41 15 50
WPAS_Field_link_color::output()
A
54 17 16
WPAS_Field_button_set::render()
A
47 16 30
WPAS_Field_media::render()
A
38 14 60
WPAS_Nav_Menu_Options::wp_nav_menu_item_custom_fields()
A
47 16 29
WPAS_Field_background::output()
A
46 15 33
WPAS_Field_repeater::render()
A
40 12 56
WPAS_Metabox::add_metabox_classes()
A
47 13 35
WPAS_Field_upload::render()
A
45 13 33
WPAS_Field_typography::create_select()
A
51 13 21
WPAS_Field_sorter::render()
A
46 12 35
WPAS_Editorial_Rating_Public_Display::wpas_enqueue_json_schema()
A
41 10 61
WPAS_Customize_Options::add_customize_options()
A
49 12 28
WPAS_Field_tabbed::render()
A
48 12 27
WPAS_Options::add_admin_bar_menu()
A
50 11 25
WP_Customize_Control_WPAS::render_field_content()
A
45 10 39
WPAS_Field_number::output()
A
52 11 21
WPAS_Field_slider::output()
A
52 11 21
WPAS_Field_spinner::output()
A
52 11 21
WP_Customize_Control_WPAS::render()
A
46 10 36
WPAS_Field_sortable::render()
A
47 10 35
WPAS_Field_dimensions::output()
A
56 11 14
WPAS::add_typography_enqueue_styles()
A
49 10 27
WPAS::include_plugin_file()
A
51 10 24
WPAS_Options::error_check()
A
54 10 22
WPAS_Field_image_select::render()
A
48 9 28
WPAS::includes()
A
39 6 72
WPAS_Field_accordion::render()
A
49 9 26
WPAS_Fields::field_attributes()
A
53 9 22
WPAS_Field_color::output()
A
54 9 18
wpas_chosen_ajax()
A
54 9 18
WPAS_Customize_Options::save_defaults()
A
56 9 17
WPAS_Taxonomy_Options::get_meta_value()
A
56 9 16
wpas_get_icons()
A
51 8 22
WPAS_Shortcoder::pre_tabs()
A
53 8 22
WPAS_Options::pre_tabs()
A
53 8 22
WPAS_Field_palette::render()
A
53 8 21
WPAS_Metabox::__construct()
A
53 8 18
wpas_import_ajax()
A
56 8 16
WPAS_Metabox::get_meta_value()
A
56 8 16
WPAS_Profile_Options::get_meta_value()
S
57 8 15
WPAS_Comment_Metabox::get_meta_value()
S
57 8 15
WPAS_Nav_Menu_Options::get_meta_value()
S
57 8 15
WPAS_Options::add_admin_menu()
S
52 7 21
WPAS::set_used_fields()
S
56 7 18
WPAS_Field_map::render()
S
44 5 45
WPAS_Field_typography::enqueue()
S
40 3 64
WPAS_Widget::form()
S
55 6 18
WPAS_Customize_Options::pre_tabs()
S
57 6 17
WPAS_Field_color_group::render()
S
56 6 15
WPAS_Field_switcher::render()
S
56 6 15
WPAS_Field_fieldset::render()
S
58 6 13
WPAS_Field_image_select::output()
S
60 6 11
WPAS_Options::save_defaults()
S
62 6 11
WPAS_Field_link::render()
S
50 5 25
WPAS_Field_link_color::render()
S
47 4 35
wpas_export()
S
56 5 17
WPAS_Options::pre_sections()
S
59 5 15
WPAS_Fields::field_name()
S
62 6 10
WPAS_Options::get_options()
S
59 5 15
WPAS::constants()
S
57 5 14
WPAS_Shortcoder::pre_sections()
S
61 5 14
wpas_array_search()
S
61 5 12
WPAS_Taxonomy_Options::__construct()
S
59 5 12
WPAS_Field_code_editor::enqueue()
S
60 5 11
WPAS_Field_textarea::shortcoder()
S
61 5 11
WPAS_Field_wp_editor::render()
S
51 4 26
WPAS_Field_gallery::render()
S
51 4 23
WPAS_Widget::__construct()
S
56 4 18
WPAS_Fields::field_after()
S
65 5 7
WPAS_Widget::update()
S
61 5 10
WPAS_Options::add_page_on_load()
S
61 4 12
WPAS_Options::save_options()
S
61 4 12
WPAS_Field_map::enqueue()
S
62 4 11
WPAS_Comment_Metabox::pre_fields()
S
63 4 11
WPAS_Metabox::pre_fields()
S
63 4 11
WPAS_Taxonomy_Options::pre_fields()
S
63 4 11
WPAS_Options::pre_fields()
S
63 4 11
WPAS_Customize_Options::pre_fields()
S
63 4 11
WPAS_Field_date::render()
S
51 3 24
WPAS_Options::__construct()
S
55 3 18
WPAS_Shortcoder::__construct()
S
55 3 18
WPAS_Field_slider::render()
S
55 3 18
wpas_reset_ajax()
S
63 4 9
WPAS_Field_callback::render()
S
69 4 6
WPAS_Shortcoder::add_guteberg_blocks()
S
58 3 15
WPAS_Widget::get_widget_value()
S
70 4 5
WPAS_Field_wp_editor::setup_wp_editor_settings()
S
63 3 11
WPAS_Customize_Options::get_options()
S
63 3 11
WPAS_Field_icon::render()
S
56 2 16
WPAS_Comment_Metabox::get_default()
S
71 3 5
WPAS_Taxonomy_Options::get_default()
S
71 3 5
WPAS_Nav_Menu_Options::wp_edit_nav_menu_walker()
S
64 3 10
WPAS_Widget::get_default()
S
71 3 5
WPAS_Editorial_Rating_Loader::run()
S
66 3 8
WPAS_Customize_Options::get_default()
S
71 3 5
WPAS_Field_group::enqueue()
S
68 3 8
WPAS_Options::get_default()
S
71 3 5
WPAS_Field_link::enqueue()
S
66 3 9
WPAS_Field_wp_editor::enqueue()
S
68 3 7
WPAS_Profile_Options::get_default()
S
71 3 5
WPAS_Field_notice::render()
S
72 3 4
WPAS_Nav_Menu_Options::get_default()
S
71 3 5
WPAS_Abstract::__construct()
S
68 3 6
WPAS_Shortcoder::get_default()
S
71 3 5
WPAS_Shortcoder::once_editor_setup()
S
67 3 8
WPAS_Metabox::get_default()
S
71 3 5
WPAS_Field_code_editor::render()
S
58 2 14
WPAS_Customize_Options::__construct()
S
58 2 14
WPAS_Editorial_Rating::__construct()
S
62 2 12
WPAS_Comment_Metabox::__construct()
S
61 2 11
WPAS_Field_number::render()
S
61 2 11
WPAS_Field_icon::add_footer_modal_icon()
S
59 1 24
WPAS::add_custom_css()
S
72 2 5
WPAS_Options::ajax_save()
S
66 2 8
WPAS_Metabox::add_meta_box()
S
70 2 5
wpas_customize_validate_email()
S
70 2 6
WPAS_Shortcoder::add_media_buttons()
S
71 2 5
wpas_timeout()
S
78 2 3
WPAS_Field_slider::enqueue()
S
74 2 5
WPAS_Field_shortcode::render()
S
74 2 4
wpas_customize_validate_numeric()
S
70 2 6
WPAS::init()
S
67 2 9
wpas_validate_email()
S
72 2 5
WPAS_Field_color::render()
S
67 2 6
WPAS_Field_content::render()
S
73 2 5
WPAS_Field_date::enqueue()
S
74 2 5
WPAS_Field_subheading::render()
S
78 2 3
WPAS_Field_link::add_wp_link_dialog()
S
68 2 7
WPAS_Fields::field_before()
S
77 2 3
WPAS::add_admin_body_class()
S
70 2 6
WPAS_Field_spinner::enqueue()
S
74 2 5
WPAS_Field_select::enqueue()
S
74 2 5
wpas_customize_validate_url()
S
70 2 6
WPAS_Field_sorter::enqueue()
S
74 2 5
WPAS_Field_sortable::enqueue()
S
74 2 5
WPAS_Field_submessage::render()
S
73 2 4
WPAS_Field_repeater::enqueue()
S
74 2 5
WPAS_Options::add_admin_footer_text()
S
74 2 4
wpas_customize_validate_required()
S
70 2 6
wpas_validate_required()
S
73 2 5
wpas_validate_url()
S
72 2 5
wpas_validate_numeric()
S
73 2 5
WPAS_Field_heading::render()
S
78 2 3
WPAS_Comment_Metabox::add_comment_metabox_classes()
S
71 2 6
WPAS_Field_text::render()
S
67 2 6
WPAS_Field_backup::render()
S
57 1 14
WPAS::__construct()
S
62 1 11
WPAS_Field_spinner::render()
S
60 1 11
WPAS_Editorial_Rating_Public::enqueue_styles()
S
71 1 5
WPAS_Taxonomy_Options::add_taxonomy_options()
S
69 1 6
WPAS_Editorial_Rating_Loader::__construct()
S
77 1 4
WPAS_Field_gallery::__construct()
S
78 1 3
WPAS_Widget::instance()
S
79 1 3
WPAS_Fields::__construct()
S
69 1 7
WPAS_Field_icon::__construct()
S
78 1 3
WPAS_Field_heading::__construct()
S
78 1 3
WPAS_Field_link_color::__construct()
S
78 1 3
WPAS_Field_backup::__construct()
S
78 1 3
WPAS_Field_spinner::__construct()
S
78 1 3
WPAS_Nav_Menu_Options::__construct()
S
64 1 8
WPAS_Field_border::__construct()
S
78 1 3
WPAS_Field_fieldset::__construct()
S
78 1 3
WPAS_Customize_Options::instance()
S
79 1 3
WPAS_Walker_Nav_Menu_Edit::start_el()
S
65 1 8
WPAS_Field_callback::__construct()
S
78 1 3
WPAS::createNavMenuOptions()
S
78 1 3
WPAS_Options::instance()
S
79 1 3
wpas_sanitize_title()
S
81 1 3
WPAS_Taxonomy_Options::instance()
S
79 1 3
WPAS_Comment_Metabox::instance()
S
79 1 3
WPAS_Field_wp_editor::__construct()
S
78 1 3
WPAS_Field_textarea::render()
S
69 1 6
WPAS_Field_sortable::__construct()
S
78 1 3
WPAS_Field_radio::__construct()
S
78 1 3
WPAS::createProfileOptions()
S
78 1 3
WPAS_Profile_Options::add_profile_options()
S
70 1 6
WPAS_Field_typography::__construct()
S
78 1 3
activate_WPAS_Editorial_Rating()
S
76 1 4
WPAS_Field_checkbox::__construct()
S
78 1 3
WPAS_Nav_Menu_Options::instance()
S
79 1 3
WPAS_Field_wp_editor::setup_wp_editor_media_buttons()
S
64 1 10
wpas_wp_editor_api()
S
76 1 4
wpas_get_default_icons()
S
56 1 6
WPAS_Editorial_Rating_Admin::enqueue_styles()
S
77 1 3
WPAS_Editorial_Rating::define_public_hooks()
S
63 1 10
WPAS_Field_notice::__construct()
S
78 1 3
WPAS_Editorial_Rating::define_admin_hooks()
S
72 1 5
WPAS::include_plugin_url()
S
77 1 3
WPAS::createCommentMetabox()
S
78 1 3
wpas_get_default_icons()
S
53 1 6
WPAS_Field_link::__construct()
S
78 1 3
WPAS_Field_color_group::__construct()
S
78 1 3
WPAS_Field_image_select::__construct()
S
78 1 3
WPAS_Editorial_Rating::get_loader()
S
82 1 3
WPAS::sanitize_dirname()
S
78 1 3
WPAS_Field_upload::__construct()
S
78 1 3
deactivate_WPAS_Editorial_Rating()
S
76 1 4
WPAS_Field_code_editor::__construct()
S
78 1 3
WPAS_Editorial_Rating_Deactivator::deactivate()
S
89 1 2
WPAS_Field_content::__construct()
S
78 1 3
WPAS::createMetabox()
S
78 1 3
WPAS_Editorial_Rating_Admin::__construct()
S
77 1 4
WPAS_Field_subheading::__construct()
S
78 1 3
WPAS_Abstract::collect_output_css_and_typography()
S
81 1 3
WPAS_Editorial_Rating::run()
S
82 1 3
WPAS::is_active_plugin()
S
78 1 3
WPAS::createSection()
S
75 1 4
WPAS_Field_map::__construct()
S
78 1 3
WPAS_Profile_Options::__construct()
S
68 1 6
WPAS_Field_group::__construct()
S
78 1 3
WPAS_Editorial_Rating_Public::enqueue_scripts()
S
73 1 4
WPAS_Field_tabbed::__construct()
S
78 1 3
WPAS_Editorial_Rating_Loader::add_action()
S
77 1 3
WPAS_Metabox::instance()
S
79 1 3
WPAS_Field_number::__construct()
S
78 1 3
WPAS_Field_media::__construct()
S
78 1 3
WPAS_Widget::widget()
S
79 1 3
WPAS_Field_submessage::__construct()
S
78 1 3
WPAS::createWidget()
S
75 1 4
WPAS_Field_spacing::__construct()
S
78 1 3
WPAS::createTaxonomyOptions()
S
78 1 3
WPAS_Field_sorter::__construct()
S
78 1 3
WPAS_Field_color::__construct()
S
78 1 3
WPAS_Editorial_Rating_Loader::add()
S
64 1 10
WPAS_Comment_Metabox::add_comment_meta_box()
S
77 1 3
WPAS_Editorial_Rating_Loader::add_filter()
S
77 1 3
WPAS_Field_switcher::__construct()
S
78 1 3
WPAS_Editorial_Rating_Activator::activate()
S
89 1 2
WPAS_Shortcoder::instance()
S
79 1 3
WPAS_Profile_Options::instance()
S
79 1 3
WPAS_Field_select::__construct()
S
78 1 3
WPAS_Field_shortcode::__construct()
S
78 1 3
WPAS_Field_date::__construct()
S
78 1 3
WPAS_Field_button_set::__construct()
S
78 1 3
run_WPAS_Editorial_Rating()
S
77 1 4
WPAS_Editorial_Rating_i18n::load_plugin_textdomain()
S
69 1 7
WPAS_Field_palette::__construct()
S
78 1 3
WPAS_Field_accordion::__construct()
S
78 1 3
WPAS_Field_icon::enqueue()
S
75 1 4
WPAS_Editorial_Rating_Admin::enqueue_scripts()
S
77 1 3
WPAS_Field_slider::__construct()
S
78 1 3
WPAS_Field_background::__construct()
S
78 1 3
WPAS::createOptions()
S
78 1 3
WPAS::createCustomizeOptions()
S
78 1 3
WPAS_Field_dimensions::__construct()
S
78 1 3
WPAS_Editorial_Rating::get_version()
S
82 1 3
WPAS::textdomain()
S
77 1 3
WPAS_Field_repeater::__construct()
S
78 1 3
WPAS_Field_textarea::__construct()
S
78 1 3
WPAS_Editorial_Rating_Public_Display::__construct()
S
77 1 4
wpas_sanitize_replace_a_to_b()
S
79 1 3
WPAS_Editorial_Rating_Public::__construct()
S
77 1 4
WPAS_Field_text::__construct()
S
78 1 3
WPAS::createShortcoder()
S
78 1 3
WPAS_Editorial_Rating::get_plugin_name()
S
82 1 3
WPAS_Customize_Options::add_customize_save_after()
S
71 1 5
WPAS_Editorial_Rating::load_dependencies()
S
66 1 8
WPAS_Editorial_Rating::set_locale()
S
75 1 4