Code Analysis: GTranslate 2.9.1

Function Rating Maintainability Complexity Lines of code
GTranslate::options()
D
4
19 1,232
GTranslate::control_options()
D
31 47 73
GTranslate::load_defaults()
D
35 42 44
gt_translate_emails()
C
35 26 67
GTranslate_Notices::admin_notice()
B
37 23 62
gt_filter_woocommerce_scripts_data()
B
39 21 57
GTranslateWidget::widget()
B
45 20 35
GTranslate::widget2()
B
46 19 33
GTranslate::widget()
B
46 19 33
GTranslate::get_widget_code()
B
46 19 31
gtranslate_add_hreflang_tags()
B
45 17 36
gtranslate_display_floating()
A
50 15 23
GTranslate_Notices::admin_notice_pages()
A
54 11 20
GTranslate_Notices::gt_admin_notices()
A
37 5 81
gtranslate_menu_item()
A
48 8 33
gtranslate_filter_l10n_scripts()
A
45 7 40
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::enqueue_scripts()
S
56 5 17
GTranslate_Notices::admin_notice_temp_ignore()
S
54 4 19
GTranslate_Notices::gt_admin_notice()
S
64 5 9
getallheaders()
S
60 4 12
gtranslate_add_script_attributes()
S
56 3 17
gtranslate_rest_category()
S
64 4 9
GTranslate::load_textdomain()
S
65 4 8
GTranslate_Notices::admin_notice_ignore()
S
60 3 13
gt_woocommerce_geolocate_ip()
S
68 3 7
GTranslate::control()
S
61 2 11
GTranslateWidget::update()
S
71 2 5
gt_allowed_redirect_hosts()
S
69 2 6
GTranslateWidget::form()
S
64 2 9
GTranslate_Notices::anti_notice_spam()
S
72 2 6
GTranslate::register()
S
80 1 3
GTranslate::settings_link()
S
73 1 4
gtranslate_url_translation_meta()
S
83 1 3
GTranslate::admin_menu()
S
77 1 3
gtranslate_request_uri_var()
S
78 1 3
GTranslate_Notices::__construct()
S
72 1 5
GTranslateWidget::__construct()
S
77 1 3
GTranslate_Notices::special_parameters()
S
91 1 2
GTranslate::activate()
S
67 1 8
GTranslate::deactivate()
S
89 1 2