Code Analysis: Widgets for Google Reviews 12.4.3

Function Rating Maintainability Complexity Lines of code
TrustindexPlugin_google::parseWidgetHtml()
D
18
52 210
TrustindexPlugin_google::getWidgetOption()
D
31 45 90
trustindex_plugin_connect_page()
B
35 19 82
TrustindexPlugin_google::getReviewsForWidgetHtml()
B
39 19 57
TrustindexPlugin_google::save_reviews()
B
41 17 51
TrustindexWidget_google::form()
B
39 15 68
TrustindexPlugin_google::getWidgetHtml()
A
40 14 53
TrustindexPlugin_google::handleCssFile()
A
38 12 71
TrustindexPlugin_google::shortcode_func()
A
45 13 37
TrustindexPlugin_google::load()
A
47 13 32
TrustindexPlugin_google::renderWidgetFrontend()
A
43 10 40
TrustindexPlugin_google::getRandomReviews()
A
46 9 36
TrustindexPlugin_google::get_wp_details()
A
44 8 48
TrustindexPlugin_google::renderWidgetAdmin()
A
47 9 32
TrustindexPlugin_google::get_plugin_details()
A
46 8 40
TrustindexWidget_google::widget()
A
51 9 24
TrustindexPlugin_google::add_setting_menu()
A
45 6 47
TrustindexPlugin_google::save_details()
A
56 8 16
TrustindexPlugin_google::get_rating_stars()
S
50 7 29
TrustindexPlugin_google::trustindex_add_scripts()
S
49 7 29
trustindex_plugin_write_rating_stars()
S
50 7 28
TrustindexPlugin_google::isNotificationActive()
S
60 8 12
trustindex_plugin_change_step()
S
47 6 40
TrustindexPlugin_google::get_footer_filter_text()
S
55 7 18
TrustindexPlugin_google::get_platform_name()
S
49 6 31
TrustindexPlugin_google::isDarkLogo()
S
59 7 14
TrustindexGutenbergPlugin::is_gutenberg_page()
S
61 7 12
TrustindexPlugin_google::list_trustindex_widgets_ajax()
S
50 5 30
TrustindexPlugin_google::noreg_save_css()
S
52 5 21
TrustindexPlugin_google::getNotificationOptions()
S
41 2 64
TrustindexPlugin_google::getReviewHtml()
S
55 5 18
TrustindexPlugin_google::is_amp_active()
S
58 5 15
TrustindexPlugin_google::getPluginTabs()
S
47 3 43
TrustindexPlugin_google::sendNotificationEmail()
S
61 5 11
trustindex_plugin_disconnect_page()
S
47 3 37
TrustindexPlugin_google::add_plugin_action_links()
S
53 4 21
TrustindexPlugin_google::connect_trustindex_api()
S
54 4 20
TrustindexPlugin_google::get_rating_text()
S
58 4 16
TrustindexPlugin_google::getPageUrl()
S
57 4 16
TrustindexPlugin_google::init_shortcode()
S
59 4 14
TrustindexPlugin_google::formatTenRating()
S
61 4 12
TrustindexPlugin_google::getCdnVersionControl()
S
60 4 12
TrustindexPlugin_google::get_trustindex_widgets()
S
62 4 11
TrustindexPlugin_google::getPageDetails()
S
63 4 11
ti_woocommerce_notice()
S
53 3 24
TrustindexPlugin_google::get_option_names()
S
44 1 53
TrustindexPlugin_google::isVerifiedByTrustindexAvailable()
S
67 4 6
TrustindexPlugin_google::is_widget_setted_up()
S
58 3 15
TrustindexPlugin_google::getReviewWriteUrl()
S
61 3 13
TrustindexPlugin_google::getReviewPageUrl()
S
61 3 13
TrustindexPlugin_google::get_plugin_current_version()
S
60 3 12
TrustindexGutenbergPlugin::render_block()
S
62 3 12
TrustindexPlugin_google::getNotificationEmailContent()
S
52 2 27
TrustindexPlugin_google::get_option_name()
S
63 3 11
TrustindexPlugin_google::is_amp_enabled()
S
64 3 11
TrustindexPlugin_google::get_alertbox()
S
55 2 21
TrustindexPlugin_google::delete_async_request()
S
58 2 16
TrustindexPlugin_google::getVersion()
S
67 3 7
TrustindexPlugin_google::activate()
S
63 3 9
TrustindexPlugin_google::register_block_editor()
S
64 3 9
TrustindexPlugin_google::get_plugin_file_url()
S
65 3 8
TrustindexPlugin_google::filter_filesystem_method()
S
70 3 6
TrustindexPlugin_google::getNotificationParam()
S
67 3 7
TrustindexPlugin_google::get_platforms()
S
52 1 25
TrustindexPlugin_google::is_table_exists()
S
70 2 5
TrustindexPlugin_google::frontEndErrorForAdmins()
S
68 2 6
TrustindexPlugin_google::uninstall()
S
68 2 7
TrustindexPlugin_google::getCssFile()
S
66 2 8
TrustindexPlugin_google::init_widget()
S
72 2 5
TrustindexPlugin_google::add_tinymce_buttons()
S
65 2 8
TrustindexPlugin_google::isLayoutHasReviews()
S
72 2 4
TrustindexPlugin_google::register_tinymce_buttons()
S
69 2 7
TrustindexGutenbergPlugin::gutenberg_enqueue_block_editor_assets()
S
60 1 15
TrustindexPlugin_google::is_noreg_linked()
S
75 2 4
TrustindexGutenbergPlugin::instance()
S
70 2 7
TrustindexPlugin_google::getProfileImageSize()
S
70 2 6
TrustindexPlugin_google::isJson()
S
75 2 4
TrustindexPlugin_google::register_tinymce_features()
S
70 2 6
TrustindexPlugin_google::post_request()
S
66 2 8
TrustindexPlugin_google::get_trustindex_widget_number()
S
67 2 8
TrustindexPlugin_google::isElementorEditing()
S
78 2 3
TrustindexPlugin_google::setNotificationParam()
S
66 2 8
TrustindexPlugin_google::getCssUrl()
S
67 2 7
TrustindexPlugin_google::getGoogleType()
S
78 2 3
TrustindexPlugin_google::getCdnVersion()
S
74 2 4
TrustindexPlugin_google::add_plugin_meta_links()
S
66 2 7
TrustindexPlugin_google::init_restapi()
S
62 1 12
TrustindexGutenbergPlugin::register_block()
S
62 1 12
TrustindexPlugin_google::is_ten_scale_rating_platform()
S
77 1 3
TrustindexPlugin_google::is_enabled()
S
79 1 3
TrustindexPlugin_google::getHeaderProfileImageSize()
S
82 1 3
TrustindexPlugin_google::loadI18N()
S
78 1 3
TrustindexGutenbergPlugin::__wakeup()
S
79 1 3
TrustindexPlugin_google::get_noticebox()
S
78 1 3
TrustindexPlugin_google::is_review_manual_download()
S
79 1 3
TrustindexGutenbergPlugin::init()
S
75 1 4
TrustindexPlugin_google::updateVersion()
S
71 1 5
trustindex_exclude_js()
S
68 1 8
TrustindexWidget_google::__construct()
S
65 1 10
TrustindexPlugin_google::parseReviewText()
S
77 1 3
TrustindexPlugin_google::__construct()
S
69 1 7
TrustindexPlugin_google::get_shortcode_name()
S
82 1 3
TrustindexPlugin_google::register_widget()
S
79 1 3
TrustindexPlugin_google::get_tablename()
S
75 1 4
TrustindexPlugin_google::output_buffer()
S
82 1 3
TrustindexPlugin_google::is_review_download_in_progress()
S
79 1 3
TrustindexPlugin_google::getWebhookAction()
S
80 1 3
TrustindexPlugin_google::is_trustindex_connected()
S
80 1 3
TrustindexPlugin_google::deactivate()
S
79 1 3
TrustindexPlugin_google::getProFeatureButton()
S
77 1 3
TrustindexPlugin_google::getShortName()
S
82 1 3
TrustindexPlugin_google::getWebhookUrl()
S
79 1 3
TrustindexPlugin_google::get_plugin_dir()
S
80 1 3
TrustindexGutenbergPlugin::__clone()
S
79 1 3
TrustindexPlugin_google::get_plugin_slug()
S
80 1 3
TrustindexPlugin_google::get_plugin_slugs()
S
80 1 3