Code Analysis: Widgets for AliExpress Reviews 12.4.3

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