Code Analysis: Widgets for AliExpress Reviews 10.4

Function Rating Maintainability Complexity Lines of code
TrustindexPlugin_aliexpress::get_noreg_list_reviews()
D
16
62 246
TrustindexPlugin_aliexpress::parse_noreg_list_reviews()
D
18
51 232
trustindex_plugin_connect_page()
C
33 22 95
TrustindexPlugin_aliexpress::plugin_loaded()
B
39 17 58
TrustindexWidget_aliexpress::form()
B
39 15 67
trustindex_reviews_hook_aliexpress()
A
38 14 69
TrustindexPlugin_aliexpress::handleCssFile()
A
36 12 85
TrustindexPlugin_aliexpress::save_reviews()
A
42 14 50
TrustindexPlugin_aliexpress::noreg_save_css()
A
40 11 59
TrustindexPlugin_aliexpress::getPageUrl()
A
45 11 40
TrustindexPlugin_aliexpress::shortcode_func()
A
45 10 42
TrustindexPlugin_aliexpress::get_wp_details()
A
42 8 57
TrustindexPlugin_aliexpress::getRandomReviews()
A
45 9 40
TrustindexPlugin_aliexpress::trustindex_add_scripts()
A
45 9 40
TrustindexWidget_aliexpress::widget()
A
48 9 34
TrustindexPlugin_aliexpress::get_plugin_details()
A
45 8 46
TrustindexPlugin_aliexpress::add_setting_menu()
A
44 6 54
trustindex_plugin_write_rating_stars()
A
48 7 35
TrustindexPlugin_aliexpress::save_details()
S
57 8 15
TrustindexPlugin_aliexpress::get_platform_name()
S
48 6 36
trustindex_plugin_change_step()
S
50 6 34
TrustindexGutenbergPlugin::is_gutenberg_page()
S
58 7 17
TrustindexPlugin_aliexpress::isDarkLogo()
S
57 7 16
TrustindexPlugin_aliexpress::get_rating_stars()
S
51 6 29
TrustindexPlugin_aliexpress::list_trustindex_widgets_ajax()
S
50 5 30
TrustindexPlugin_aliexpress::is_amp_active()
S
56 5 18
TrustindexPlugin_aliexpress::connect_trustindex_api()
S
53 4 22
TrustindexPlugin_aliexpress::init_shortcode()
S
56 4 18
TrustindexPlugin_aliexpress::getReviewHtml()
S
55 4 17
trustindex_plugin_disconnect_page()
S
50 3 31
TrustindexPlugin_aliexpress::formatTenRating()
S
59 4 15
TrustindexPlugin_aliexpress::get_rating_text()
S
59 4 14
TrustindexPlugin_aliexpress::get_trustindex_widgets()
S
60 4 13
ti_woocommerce_notice()
S
53 3 25
TrustindexPlugin_aliexpress::is_widget_setted_up()
S
57 3 17
TrustindexPlugin_aliexpress::getReviewPageUrl()
S
59 3 16
TrustindexPlugin_aliexpress::getReviewWriteUrl()
S
59 3 16
TrustindexGutenbergPlugin::render_block()
S
59 3 15
TrustindexPlugin_aliexpress::get_default_no_rating_text()
S
64 4 8
TrustindexPlugin_aliexpress::get_option_name()
S
60 3 14
TrustindexPlugin_aliexpress::is_amp_enabled()
S
62 3 14
TrustindexPlugin_aliexpress::get_plugin_current_version()
S
60 3 13
TrustindexPlugin_aliexpress::register_block_editor()
S
62 3 11
TrustindexPlugin_aliexpress::get_option_names()
S
48 1 40
TrustindexPlugin_aliexpress::get_alertbox()
S
54 2 21
TrustindexPlugin_aliexpress::delete_async_request()
S
58 2 17
TrustindexPlugin_aliexpress::filter_filesystem_method()
S
69 3 7
TrustindexPlugin_aliexpress::get_plugin_file_url()
S
64 3 9
TrustindexPlugin_aliexpress::get_widget_default_filter()
S
61 2 12
TrustindexPlugin_aliexpress::add_tinymce_buttons()
S
62 2 11
TrustindexGutenbergPlugin::register_block()
S
55 1 25
TrustindexPlugin_aliexpress::get_platforms()
S
52 1 25
TrustindexPlugin_aliexpress::init_widget()
S
70 2 6
TrustindexPlugin_aliexpress::add_plugin_action_links()
S
63 2 10
TrustindexPlugin_aliexpress::add_plugin_meta_links()
S
65 2 8
TrustindexPlugin_aliexpress::get_trustindex_widget_number()
S
66 2 9
TrustindexPlugin_aliexpress::register_tinymce_buttons()
S
67 2 8
TrustindexPlugin_aliexpress::is_noreg_linked()
S
74 2 4
TrustindexPlugin_aliexpress::get_noreg_tablename()
S
72 2 5
TrustindexGutenbergPlugin::instance()
S
70 2 7
TrustindexPlugin_aliexpress::uninstall()
S
67 2 8
TrustindexPlugin_aliexpress::error_box_for_admins()
S
67 2 7
TrustindexPlugin_aliexpress::___()
S
66 2 8
TrustindexPlugin_aliexpress::getGoogleType()
S
78 2 3
TrustindexGutenbergPlugin::gutenberg_enqueue_block_editor_assets()
S
61 1 15
TrustindexPlugin_aliexpress::getCssFile()
S
65 2 9
TrustindexPlugin_aliexpress::register_tinymce_features()
S
68 2 7
TrustindexPlugin_aliexpress::post_request()
S
65 2 9
TrustindexPlugin_aliexpress::init_restapi()
S
63 1 12
TrustindexPlugin_aliexpress::is_review_manual_download()
S
79 1 3
TrustindexPlugin_aliexpress::get_webhook_url()
S
79 1 3
TrustindexPlugin_aliexpress::is_enabled()
S
79 1 3
TrustindexPlugin_aliexpress::get_noticebox()
S
77 1 3
TrustindexPlugin_aliexpress::is_review_download_in_progress()
S
79 1 3
ti_exclude_js()
S
77 1 4
TrustindexPlugin_aliexpress::get_plugin_slug()
S
80 1 3
TrustindexGutenbergPlugin::__wakeup()
S
79 1 3
TrustindexPlugin_aliexpress::register_widget()
S
79 1 3
TrustindexPlugin_aliexpress::is_trustindex_connected()
S
80 1 3
TrustindexPlugin_aliexpress::get_webhook_action()
S
80 1 3
TrustindexPlugin_aliexpress::is_ten_scale_rating_platform()
S
77 1 3
TrustindexPlugin_aliexpress::activate()
S
79 1 3
ti_exclude_inline_js()
S
77 1 4
TrustindexPlugin_aliexpress::get_plugin_slugs()
S
80 1 3
TrustindexPlugin_aliexpress::get_shortcode_name()
S
82 1 3
TrustindexPlugin_aliexpress::getShortName()
S
82 1 3
TrustindexPlugin_aliexpress::is_noreg_table_exists()
S
72 1 5
TrustindexGutenbergPlugin::__clone()
S
79 1 3
TrustindexPlugin_aliexpress::is_table_exists()
S
72 1 5
TrustindexPlugin_aliexpress::get_trustindex_widget()
S
71 1 5
TrustindexPlugin_aliexpress::deactivate()
S
79 1 3
TrustindexPlugin_aliexpress::get_tablename()
S
75 1 4
TrustindexPlugin_aliexpress::loadI18N()
S
78 1 3
TrustindexGutenbergPlugin::init()
S
75 1 4
TrustindexWidget_aliexpress::__construct()
S
66 1 10
TrustindexPlugin_aliexpress::get_plugin_dir()
S
80 1 3
TrustindexPlugin_aliexpress::output_buffer()
S
82 1 3
TrustindexPlugin_aliexpress::__construct()
S
69 1 7