Code Analysis: Editorial Rating 3.1.0

Function Rating Maintainability Complexity Lines of code
WPAS_Fields::field_data()
D
24
57 148
WPAS_Setup::setup()
D
27
52 117
WPAS_Options::add_options_html()
D
26
48 116
WPAS_Setup::add_admin_enqueue_scripts()
D
30 40 99
WPAS_Fields::field_wp_query_data_title()
D
35 41 71
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_editorial_rating_widget()
C
32 30 89
WPAS_Editorial_Rating_Public_Display::wpas_shortcode_execute()
C
33 26 88
WPAS_Metabox::save_meta_box()
C
36 27 69
WPAS_Setup::field()
C
37 24 65
WPAS_Field_checkbox::render()
B
39 16 60
WPAS_Field_media::render()
A
38 14 63
WPAS_Field_repeater::render()
A
40 12 59
WPAS_Metabox::add_metabox_classes()
A
47 13 35
WPAS_Options::add_admin_bar_menu()
A
47 12 32
WPAS_Editorial_Rating_Public_Display::wpas_enqueue_json_schema()
A
41 9 61
WPAS_Field_spinner::output()
A
52 11 21
WPAS_Setup::add_typography_enqueue_styles()
A
49 10 27
WPAS_Setup::include_plugin_file()
A
51 10 24
WPAS_Options::error_check()
A
54 10 22
WPAS_Setup::includes()
A
38 6 76
WPAS_Fields::field_attributes()
A
53 9 22
wpas_chosen_ajax()
A
54 9 18
WPAS_Abstract::pre_tabs()
A
53 8 22
wpas_get_icons()
A
51 8 22
WPAS_Setup::set_used_fields()
A
54 8 21
WPAS_Metabox::__construct()
A
53 8 18
WPAS_Metabox::get_meta_value()
A
56 8 16
wpas_import_ajax()
A
56 8 16
WPAS_Options::add_admin_menu()
S
52 7 21
WPAS_Widget::form()
S
55 6 18
WPAS_Field_switcher::render()
S
56 6 15
WPAS_Abstract::pre_sections()
S
59 6 15
WPAS_Field_fieldset::render()
S
58 6 13
WPAS_Options::save_defaults()
S
62 6 11
wpas_export()
S
56 5 17
WPAS_Fields::field_name()
S
62 6 10
WPAS_Options::get_options()
S
59 5 15
WPAS_Options::add_page_on_load()
S
59 5 14
WPAS_Setup::constants()
S
57 5 14
WPAS_Editorial_Rating_CPT::wpas_post_type()
S
45 3 43
wpas_array_search()
S
61 5 12
WPAS_Field_wp_editor::render()
S
51 4 26
WPAS_Widget::__construct()
S
56 4 18
WPAS_Widget::update()
S
61 5 10
WPAS_Fields::field_after()
S
65 5 7
WPAS_Options::save_options()
S
60 4 12
WPAS_Abstract::pre_fields()
S
63 4 11
WPAS_Options::__construct()
S
55 3 18
WPAS_Widget::get_widget_value()
S
70 4 5
wpas_reset_ajax()
S
63 4 9
WPAS_Editorial_Rating_CPT::wpas_add_action_plugin()
S
58 3 14
WPAS_Field_wp_editor::setup_wp_editor_settings()
S
63 3 11
WPAS_Editorial_Rating_CPT::wpas_updated_messages()
S
55 2 17
WPAS_Widget::get_default()
S
71 3 5
WPAS_Metabox::get_default()
S
71 3 5
WPAS_Options::get_default()
S
71 3 5
WPAS_Field_wp_editor::enqueue()
S
68 3 7
WPAS_Abstract::__construct()
S
68 3 6
WPAS_Editorial_Rating_Loader::run()
S
66 3 8
WPAS_Options::ajax_save()
S
61 2 13
WPAS_Editorial_Rating::__construct()
S
62 2 12
WPAS_Editorial_Rating_CPT::wpas_help_admin_submenu()
S
57 1 18
WPAS_Field_heading::render()
S
77 2 3
wpas_validate_numeric()
S
73 2 5
wpas_customize_validate_url()
S
70 2 6
WPAS_Editorial_Rating_CPT::wpas_admin_field()
S
66 2 9
wpas_customize_validate_numeric()
S
70 2 6
wpas_validate_required()
S
73 2 5
WPAS_Editorial_Rating_CPT::wpas_redirect_after_activation()
S
72 2 5
wpas_timeout()
S
78 2 3
WPAS_Field_select::enqueue()
S
74 2 5
WPAS_Field_shortcode::render()
S
74 2 4
WPAS_Field_spinner::enqueue()
S
74 2 5
WPAS_Field_text::render()
S
67 2 6
WPAS_Fields::field_before()
S
77 2 3
WPAS_Setup::add_admin_body_class()
S
70 2 6
WPAS_Setup::add_custom_css()
S
72 2 5
WPAS_Metabox::add_meta_box()
S
70 2 5
wpas_customize_validate_email()
S
70 2 6
WPAS_Setup::init()
S
65 2 10
WPAS_Field_repeater::enqueue()
S
74 2 5
wpas_validate_url()
S
72 2 5
wpas_customize_validate_required()
S
70 2 6
wpas_validate_email()
S
72 2 5
WPAS_Field_spinner::render()
S
58 1 14
WPAS_Editorial_Rating::define_admin_hooks()
S
59 1 13
WPAS_Setup::__construct()
S
62 1 11
WPAS_Field_wp_editor::__construct()
S
78 1 3
WPAS_Field_shortcode::__construct()
S
78 1 3
WPAS_Setup::createCustomizeOptions()
S
78 1 3
WPAS_Editorial_Rating_Admin::__construct()
S
77 1 4
WPAS_Field_spinner::__construct()
S
78 1 3
WPAS_Setup::is_active_plugin()
S
78 1 3
WPAS_Field_select::__construct()
S
78 1 3
WPAS_Setup::include_plugin_url()
S
77 1 3
WPAS_Editorial_Rating::set_locale()
S
75 1 4
WPAS_Setup::sanitize_dirname()
S
78 1 3
WPAS_Field_media::__construct()
S
78 1 3
WPAS_Editorial_Rating::get_loader()
S
82 1 3
WPAS_Editorial_Rating::load_dependencies()
S
65 1 9
WPAS_Editorial_Rating_Deactivator::deactivate()
S
89 1 2
deactivate_WPAS_Editorial_Rating()
S
76 1 4
WPAS_Editorial_Rating_i18n::load_plugin_textdomain()
S
69 1 7
WPAS_Field_wp_editor::setup_wp_editor_media_buttons()
S
64 1 10
WPAS_Field_text::__construct()
S
78 1 3
activate_WPAS_Editorial_Rating()
S
76 1 4
WPAS_Setup::createShortcoder()
S
78 1 3
WPAS_Field_heading::__construct()
S
78 1 3
WPAS_Widget::widget()
S
79 1 3
WPAS_Widget::instance()
S
79 1 3
WPAS_Editorial_Rating_Public::enqueue_styles()
S
71 1 5
WPAS_Editorial_Rating_Loader::add_filter()
S
77 1 3
wpas_sanitize_replace_a_to_b()
S
79 1 3
wpas_wp_editor_api()
S
76 1 4
wpas_sanitize_title()
S
81 1 3
WPAS_Editorial_Rating_Loader::add_action()
S
77 1 3
WPAS_Editorial_Rating_Loader::add()
S
64 1 10
WPAS_Editorial_Rating::run()
S
82 1 3
run_WPAS_Editorial_Rating()
S
77 1 4
WPAS_Abstract::collect_output_css_and_typography()
S
81 1 3
WPAS_Options::add_admin_footer_text()
S
79 1 3
WPAS_Setup::createWidget()
S
75 1 4
WPAS_Editorial_Rating::get_plugin_name()
S
82 1 3
WPAS_Field_fieldset::__construct()
S
78 1 3
WPAS_Editorial_Rating_Admin::enqueue_scripts()
S
77 1 3
WPAS_Editorial_Rating_Admin::enqueue_styles()
S
77 1 3
WPAS_Options::instance()
S
79 1 3
WPAS_Metabox::instance()
S
79 1 3
WPAS_Setup::createTaxonomyOptions()
S
78 1 3
WPAS_Field_repeater::__construct()
S
78 1 3
WPAS_Editorial_Rating_Loader::__construct()
S
77 1 4
WPAS_Setup::createProfileOptions()
S
78 1 3
WPAS_Editorial_Rating::define_public_hooks()
S
63 1 10
WPAS_Editorial_Rating_Activator::activate()
S
89 1 2
WPAS_Field_checkbox::__construct()
S
78 1 3
WPAS_Setup::createMetabox()
S
78 1 3
WPAS_Editorial_Rating_CPT::wpas_help_callback()
S
80 1 3
WPAS_Setup::createSection()
S
75 1 4
WPAS_Setup::textdomain()
S
77 1 3
WPAS_Field_switcher::__construct()
S
78 1 3
WPAS_Editorial_Rating_CPT::__construct()
S
77 1 4
WPAS_Editorial_Rating_Public::enqueue_scripts()
S
73 1 4
WPAS_Setup::createCommentMetabox()
S
78 1 3
WPAS_Editorial_Rating_CPT::wpas_admin_column()
S
67 1 8
WPAS_Editorial_Rating_Public_Display::__construct()
S
77 1 4
WPAS_Setup::createNavMenuOptions()
S
78 1 3
WPAS_Setup::createOptions()
S
78 1 3
WPAS_Editorial_Rating_Public::__construct()
S
77 1 4
WPAS_Editorial_Rating::get_version()
S
82 1 3
WPAS_Fields::__construct()
S
69 1 7