Code Analysis: WP Product Review Lite 3.7.11

Function Rating Maintainability Complexity Lines of code
WPPR_Editor_Model::save()
D
34 34 77
WPPR_Gutenberg::update_review_callback()
C
38 25 58
wppr_layout_get_options_ratings()
B
35 21 100
Wppr_Public::generate_styles()
B
25
10 262
WPPR_Global_Settings::instance()
B
21
5 321
WPPR_Editor_Model::get_value()
B
40 20 60
WPPR_Widget_Abstract::form()
B
42 17 51
WPPR_Query_Model::get_sub_query_conditions()
B
47 17 32
Wppr_Public::save_comment_fields()
A
43 14 46
WPPR_Query_Model::find()
A
39 12 64
wppr_display_rating_stars()
A
45 12 45
WPPR_Top_Reviews_Widget::widget()
A
43 12 44
WPPR_Top_Products_Widget::widget()
A
43 12 44
WPPR_Widget_Abstract::widget()
A
45 11 40
wppr_layout_get_rating()
A
40 9 69
Wppr_Public::load_review_assets()
A
44 10 46
WPPR_Widget_Abstract::update()
A
57 11 14
WPPR_Editor::load_assets()
A
51 10 26
Wppr_Public::show_comment_ratings()
A
46 8 41
WPPR_Latest_Products_Widget::widget()
A
47 8 34
Wppr_Public::display_on_front()
A
50 8 31
WPPR_Query_Model::get_query_conditions()
A
56 9 15
WPPR_Query_Model::get_order_by()
A
54 8 19
WPPR_Review_Model::alter_options()
A
48 7 33
WPPR_Autoloader::loader()
S
49 7 30
WPPR_Review_Model::get_json_ld()
S
39 4 72
WPPR_Html_Fields::select()
S
50 7 26
WPPR_Html_Fields::textarea()
S
50 7 26
WPPR_Schema_Model::get_types()
S
53 7 23
WPPR_Admin::get_taxonomy_and_terms_for_post_type()
S
49 6 33
WPPR_Global_Settings::disable_user_comments_msg()
S
57 7 16
Wppr_Public::amp_styles()
S
48 6 31
WPPR::register_cpt()
S
36 2 91
WPPR_Admin::get_category_for_post_type()
S
52 6 28
WPPR_Review_Model::get_rating_class()
S
61 7 12
WPPR_Template::render()
S
51 6 26
Wppr_Public::load_template_css()
S
51 6 26
WPPR_Review_Model::setup_pros_cons()
S
52 6 25
WPPR_Admin::reset_comment_ratings()
S
52 6 24
WPPR_Html_Fields::icon()
S
51 6 23
WPPR_Review_Model::__construct()
S
48 5 37
WPPR_Admin::update_options()
S
52 6 22
WPPR_Admin::show_only_review_posts()
S
53 6 21
WPPR_Gutenberg::__construct()
S
40 2 79
WPPR_Editor::editor_save()
S
56 6 16
WPPR_Top_Reviews_Widget::form()
S
59 6 14
WPPR_Admin_Render_Controller::add_element()
S
53 5 25
WPPR_Html_Fields::text()
S
52 5 24
WPPR_Editor::set_editor()
S
54 5 23
WPPR_Review_Model::get_comment_options()
S
53 5 23
wppr_layout_get_affiliate_buttons()
S
56 5 20
Wppr_Public::add_comment_fields()
S
56 5 19
WPPR_Admin::enqueue_styles()
S
58 5 15
WPPR_Admin_Render_Controller::retrive_template()
S
58 5 15
WPPR_Global_Settings::enable_user_comments()
S
64 6 9
WPPR_Query_Model::find_all_reviews()
S
50 4 29
WPPR_Review_Model::get_small_thumbnail()
S
59 5 14
WPPR_Query_Model::get_sub_query_posts()
S
58 5 14
WPPR_Review_Model::get_comments_options()
S
51 4 28
WPPR_Gutenberg::enqueue_gutenberg_scripts()
S
50 4 28
WPPR_Review_Model::populate_json_for_schema()
S
62 5 11
WPPR_Admin::restrict_manage_posts()
S
60 5 11
WPPR::define_public_hooks()
S
53 4 20
WPPR_Widget_Abstract::adminAssets()
S
54 4 20
WPPR_Review_Model::setup_options()
S
55 4 19
WPPR_Review_Model::get_comments_rating()
S
58 4 16
WPPR_Schema_Model::get_fields_for_type()
S
58 4 16
Wppr_Public::is_amp_page()
S
65 5 9
WPPR_Model_Abstract::get_default()
S
60 4 14
WPPR_Html_Fields::icon_font()
S
51 3 29
WPPR_Admin::get_additional_fields()
S
57 4 14
Wppr_Public::amp_support()
S
59 4 14
WPPR_Review_Model::set_click()
S
60 4 13
WPPR_Gutenberg::get_post_meta()
S
52 3 28
WPPR_Admin::enqueue_scripts()
S
61 4 12
WPPR_Admin::on_activation()
S
62 4 12
WPPR_Admin::load_review_cpt()
S
53 3 26
WPPR_Top_Products_Widget::form()
S
62 4 11
wppr_layout_get_image()
S
54 3 22
Wppr_Public::minify_amp_css()
S
53 3 21
wppr_layout_get_proscons()
S
56 3 21
WPPR_Html_Fields::image()
S
54 3 20
WPPR_Html_Fields::radio()
S
55 3 18
WPPR_Admin::manage_cpt_custom_column()
S
57 3 18
WPPR_Review_Model::set_options()
S
57 3 17
WPPR_Logger::message()
S
57 3 17
wppr_display_rating_custom_icon()
S
58 3 17
wppr_layout_get_user_rating()
S
59 3 14
WPPR_Editor_Model::__construct()
S
60 3 13
WPPR_Review_Model::get_rating()
S
60 3 12
WPPR_Admin::sort_cpt_custom_column_order()
S
62 3 12
WPPR_Template::locate_template()
S
63 3 11
WPPR_Review_Model::get_image_alt()
S
63 3 11
WPPR_Review_Model::get_content()
S
62 3 11
cwppos_show_review()
S
53 2 25
wppr_default_get_image()
S
56 2 20
run_wppr()
S
57 2 19
WPPR_Gutenberg::update_posts_endpoints()
S
51 1 34
WPPR_Review_Model::setup_click()
S
69 3 6
WPPR_Top_Reviews_Widget::update()
S
68 3 6
WPPR_Autoloader::check_namespaces()
S
65 3 9
WPPR_Review_Model::backward_compatibility()
S
63 3 10
WPPR_Html_Fields::color()
S
57 2 15
WPPR_Review_Model::get_custom_field()
S
69 3 7
WPPR_Loader::run()
S
66 3 8
WPPR_Gutenberg::get_schema_types()
S
64 3 10
WPPR_Global_Settings::get_filtered_fields()
S
65 3 9
WPPR_Review_Model::setup_links()
S
61 2 12
WPPR_Review_Model::set_price()
S
61 2 12
WPPR_Review_Model::set_pros()
S
61 2 12
WPPR_Review_Model::set_cons()
S
61 2 12
WPPR_Editor_Model::get_assets()
S
53 1 26
WPPR::define_admin_hooks()
S
51 1 26
WPPR_Admin::menu_pages()
S
55 1 25
WPPR_Review_Model::get_review_data()
S
54 1 22
WPPR_Gutenberg::register_endpoints()
S
59 1 16
Wppr_Public::setup_post()
S
74 2 4
WPPR_Gutenberg::get_instance()
S
71 2 6
Wppr_Public::rating_circle_fill_styles()
S
67 2 10
WPPR_Admin::get_additional_fields_for_cpt()
S
62 2 10
Wppr_Public::rating_circle_bar_styles()
S
66 2 8
WPPR_Review_Model::get_author()
S
68 2 7
WPPR_Model_Abstract::get_var()
S
66 2 8
WPPR_Top_Products_Widget::update()
S
71 2 5
WPPR_Review_Model::setup_cpt()
S
72 2 5
WPPR_Review_Model::setup_status()
S
67 2 8
WPPR_Admin::get_taxonomies()
S
67 2 7
WPPR_Review_Model::setup_template()
S
68 2 7
WPPR_Model_Abstract::set_var()
S
65 2 8
WPPR_Review_Model::setup_image()
S
68 2 7
WPPR_Widget_Abstract::assets()
S
63 2 9
WPPR_Review_Model::update_comments_rating()
S
68 2 7
WPPR_Review_Model::activate()
S
65 2 8
WPPR_Review_Model::deactivate()
S
65 2 8
WPPR_Review_Model::set_name()
S
66 2 8
WPPR_Review_Model::get_currency()
S
77 2 3
WPPR_Review_Model::set_image()
S
63 2 10
WPPR_Review_Model::get_image_id()
S
68 2 6
WPPR_Review_Model::set_links()
S
63 2 10
WPPR_Review_Model::get_excerpt()
S
65 2 9
wppr_display_rating()
S
67 2 8
cwppos()
S
69 2 7
WPPR_Gutenberg::get_schema_details()
S
70 2 6
WPPR_Review_Model::rating_by_options()
S
70 2 6
WPPR_Autoloader::filter_excluded_files()
S
71 2 6
WPPR_Latest_Products_Widget::form()
S
66 2 8
WPPR_Admin::get_categories()
S
67 2 7
WPPR_Review_Model::get_type()
S
79 2 3
WPPR_Schema_Model::get_uninherited_class_methods()
S
64 2 10
WPPR_Review_Model::count_rating()
S
70 2 5
WPPR_Admin::manage_posts_custom_column()
S
67 2 8
WPPR_Admin_Render_Controller::render_editor_metabox()
S
68 2 7
WPPR_Editor::get_editor_name()
S
64 2 9
WPPR_Admin::settings_section_upsell()
S
74 2 5
WPPR_Html_Fields::button()
S
59 1 13
WPPR_Html_Fields::define_defaults()
S
62 1 12
WPPR_Gutenberg::register_settings()
S
64 1 11
WPPR_Review_Model::get_name()
S
78 1 3
WPPR_Editor::__construct()
S
77 1 4
WPPR_Admin::render_support()
S
75 1 4
WPPR_Top_Reviews_Widget::load_assets()
S
91 1 2
WPPR_Admin::page_settings()
S
72 1 5
WPPR_Query_Model::find_by_price()
S
67 1 9
WPPR_Top_Reviews_Widget::__construct()
S
66 1 9
WPPR_Autoloader::set_file_ext()
S
80 1 3
WPPR_Top_Products_Widget::register()
S
81 1 3
WPPR_Schema_Model::can_type_include_review()
S
64 1 8
WPPR_Query_Model::find_by_rating()
S
67 1 9
wppr_lite_register_parrot()
S
77 1 4
WPPR_Query_Model::find_by_name()
S
67 1 9
wppr_layout_get_cons()
S
74 1 4
WPPR_Query_Model::__construct()
S
74 1 5
WPPR_Review_Model::get_price()
S
78 1 3
WPPR_Review_Model::get_name_for_cpt()
S
80 1 3
WPPR_Options_Model::__construct()
S
81 1 3
WPPR_Admin::add_image_size()
S
79 1 3
WPPR_Loader::add()
S
64 1 10
WPPR_Logger::notice()
S
80 1 3
WPPR_Review_Model::set_template()
S
75 1 4
WPPR_Latest_Products_Widget::__construct()
S
66 1 9
Wppr_Public::__construct()
S
77 1 4
WPPR_Autoloader::define_namespaces()
S
80 1 3
WPPR_Admin::manage_cpt_columns()
S
67 1 7
WPPR_Html_Fields::hidden()
S
64 1 9
deactivate_wppr()
S
76 1 4
WPPR_Review_Model::format_price()
S
75 1 4
WPPR_Latest_Products_Widget::register()
S
81 1 3
WPPR_Review_Model::check_post()
S
80 1 3
WPPR_Admin_Render_Controller::__construct()
S
73 1 5
WPPR_Top_Reviews_Widget::load_admin_assets()
S
65 1 9
WPPR::run()
S
82 1 3
WPPR_Model_Abstract::get_all()
S
82 1 3
WPPR_Review_Model::get_ID()
S
82 1 3
WPPR_Model_Abstract::__construct()
S
75 1 4
WPPR_Review_Model::get_options()
S
78 1 3
WPPR_Logger::warning()
S
80 1 3
WPPR_Autoloader::set_path()
S
80 1 3
wppr_schema_add_director_to_movie()
S
77 1 4
WPPR_Top_Products_Widget::__construct()
S
66 1 9
WPPR_Review_Model::is_active()
S
78 1 3
WPPR_Schema_Model::__construct()
S
81 1 3
wppr_schema_remove_fields_from_movie()
S
77 1 4
WPPR_Global_Settings::get_sections()
S
81 1 3
wppr_schema_data_types_allowed_brand()
S
77 1 4
WPPR_Admin::get_schema_fields()
S
71 1 5
WPPR_Review_Model::get_links()
S
79 1 3
WPPR_Top_Products_Widget::custom_order_by()
S
82 1 3
WPPR_Editor_Model::get_template()
S
82 1 3
WPPR_Template::setup_locations()
S
64 1 9
WPPR_Review_Model::setup_review_schema()
S
70 1 6
WPPR_Review_Model::set_type()
S
75 1 4
WPPR_Gutenberg::post_meta_request_params()
S
67 1 8
WPPR_Review_Model::get_cons()
S
78 1 3
WPPR_Review_Model::format_currency()
S
75 1 4
WPPR_Review_Model::get_pros()
S
78 1 3
WPPR_Model_Abstract::wppr_get_option()
S
80 1 3
WPPR_Logger::error()
S
80 1 3
WPPR_Schema_Model::get_schema_url()
S
78 1 3
WPPR_Loader::__construct()
S
77 1 4
WPPR_Review_Model::setup_price()
S
67 1 8
WPPR_Review_Model::hide_name()
S
78 1 3
WPPR_Query_Model::find_by_cat_id()
S
66 1 10
WPPR::load_dependencies()
S
80 1 3
WPPR::get_plugin_name()
S
82 1 3
WPPR_Template::__construct()
S
82 1 3
WPPR_Deactivator::deactivate()
S
89 1 2
WPPR::define_common_hooks()
S
79 1 3
WPPR_Top_Products_Widget::load_admin_assets()
S
66 1 8
WPPR_Loader::add_action()
S
77 1 3
WPPR::__construct()
S
66 1 9
WPPR_Html_Fields::validate_class()
S
77 1 3
WPPR_Html_Fields::heading()
S
64 1 8
Wppr_Recursive_Filter::__construct()
S
76 1 4
WPPR_Widget_Abstract::load_assets()
S
100 1 0
WPPR_Latest_Products_Widget::load_admin_assets()
S
91 1 2
WPPR_Top_Reviews_Widget::custom_order_by()
S
82 1 3
WPPR_Global_Settings::get_fields()
S
81 1 3
WPPR_I18n::load_plugin_textdomain()
S
69 1 7
WPPR_Activator::activate()
S
79 1 3
WPPR_Review_Model::set_custom_fields()
S
75 1 4
WPPR_Review_Model::setup_name()
S
75 1 4
WPPR_Review_Model::get_custom_fields()
S
82 1 3
WPPR_Review_Model::get_price_raw()
S
78 1 3
WPPR_Autoloader::set_plugins_path()
S
80 1 3
activate_wppr()
S
76 1 4
WPPR_Admin::sort_posts_custom_column()
S
77 1 4
WPPR_Admin::__construct()
S
77 1 4
WPPR_Review_Model::get_click()
S
78 1 3
WPPR_Loader::add_filter()
S
77 1 3
WPPR::set_locale()
S
75 1 4
wppr_lite_register_sdk()
S
77 1 4
wppr_layout_get_pros()
S
74 1 4
WPPR::get_version()
S
82 1 3
WPPR_Review_Model::get_template()
S
78 1 3
Wppr_Public::amp_width_support()
S
79 1 3
WPPR_Admin::sort_cpt_custom_column()
S
76 1 4
WPPR_Top_Products_Widget::load_assets()
S
91 1 2
WPPR::get_loader()
S
82 1 3
WPPR_Autoloader::exclude_file()
S
80 1 3
WPPR_Top_Reviews_Widget::register()
S
81 1 3
Wppr_Recursive_Filter::getChildren()
S
79 1 3
WPPR_Latest_Products_Widget::load_assets()
S
91 1 2
WPPR_Review_Model::get_image()
S
78 1 3
WPPR_Schema_Model::is_version_supported()
S
78 1 3
WPPR_Widget_Abstract::load_admin_assets()
S
100 1 0
Wppr_Recursive_Filter::accept()
S
75 1 4
WPPR_Query_Model::find_by_category()
S
66 1 10
WPPR_Editor::render_metabox()
S
69 1 6
WPPR_Admin::manage_posts_columns()
S
75 1 4
WPPR_Widget_Abstract::image_size()
S
82 1 3
WPPR_Model_Abstract::wppr_set_option()
S
79 1 3