TrustindexPlugin_google D

Total Complexity 467
Dependencies 6
Dependents 1
Total lines 5,158
Lines of code 1,808
Logical lines of code 947
Comment lines 20
Methods 100
Properties 26

Methods 100

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