Code Analysis: GTranslate 3.0.6

Function Rating Maintainability Complexity Lines of code
GTranslate::options()
D
4
30 1,102
GTranslate::control_options()
D
30 52 76
GTranslate::load_defaults()
D
33 47 50
gt_translate_emails()
D
32 34 80
GTranslate::get_widget_code()
C
32 30 85
gt_translate_invoice_pdf()
C
34 30 72
gt_filter_woocommerce_scripts_data()
B
38 23 63
GTranslate_Notices::admin_notice()
B
37 23 62
GTranslate::render_single_item()
B
39 21 53
gtranslate_add_hreflang_tags()
B
42 21 43
GTranslate::load_settings()
B
39 17 57
gtranslate_menu_item()
A
45 13 36
GTranslate::get_flag_src()
A
48 13 29
GTranslate_Notices::gt_admin_notices()
A
33 7 106
GTranslate_Notices::admin_notice_pages()
A
54 11 20
GTranslate::enqueue_scripts()
A
53 10 20
gtranslate_rest_post()
S
61 8 11
GTranslate_Notices::required_fields()
S
64 7 9
http_build_query_for_curl()
S
59 6 13
GTranslate::render_menu_items()
S
62 6 10
gt_woocommerce_geolocate_ip()
S
62 5 11
GTranslate_Notices::admin_notice_temp_ignore()
S
54 4 19
GTranslate_Notices::gt_admin_notice()
S
64 5 9
gt_allowed_redirect_hosts()
S
59 4 13
getallheaders()
S
60 4 12
sg_cache_exclude_js_gtranslate()
S
62 4 11
GTranslate::load_textdomain()
S
65 4 8
gt_translate_wp_smtp_email()
S
67 4 7
gtranslate_rest_category()
S
64 4 9
GTranslate_Notices::admin_notice_ignore()
S
60 3 13
wpo_cache_exclude_js_gtranslate()
S
73 3 5
cache_exclude_js_gtranslate()
S
67 3 8
GTranslate::add_script_attributes()
S
62 3 9
GTranslate::control()
S
61 2 11
GTranslateWidget::form()
S
64 2 9
rocket_exclude_inline_gt_scripts()
S
70 2 7
GTranslateWidget::widget()
S
65 2 8
ao_cache_exclude_js_gtranslate()
S
74 2 5
w3tc_cache_exclude_js_gtranslate()
S
73 2 5
GTranslateWidget::update()
S
71 2 5
GTranslate::set_dns_prefetch_header()
S
70 2 6
GTranslate_Notices::anti_notice_spam()
S
72 2 6
GTranslate::render_shortcode()
S
69 2 6
GTranslate::activate()
S
67 1 8
gtranslate_url_translation_meta()
S
83 1 3
GTranslate_Notices::special_parameters()
S
91 1 2
gtranslate_add_inline_selector()
S
80 1 3
GTranslate::settings_link()
S
73 1 4
GTranslate::register()
S
80 1 3
GTranslate::admin_menu()
S
77 1 3
GTranslate_Notices::__construct()
S
72 1 5
GTranslate::deactivate()
S
89 1 2
GTranslateWidget::__construct()
S
77 1 3
gtranslate_display_floating()
S
81 1 3