Autoglot D

Total Complexity 246
Dependencies 8
Dependents 0
Total lines 1,120
Lines of code 731
Logical lines of code 534
Comment lines 217
Methods 35
Properties 23

Methods 35

Method Rating Maintainability Complexity Lines of code
get_translation()
C
35 24 73
__construct()
C
34 23 79
add_autoglot_floatbox()
B
38 23 61
process_page()
B
39 22 57
translate_urls()
B
38 19 69
add_autoglot_hreflangs()
B
45 17 39
get_original_url()
A
46 14 36
on_redirect_canonical()
A
53 10 22
translate_url()
A
46 8 40
autoglot_woocommerce_filter_url()
A
58 9 15
autoglot_comment_redirect()
S
59 8 14
plugin_activated()
S
53 7 25
autoglot_register_shortcode()
S
48 6 34
autoglot_search()
S
53 6 21
autoglot_add_comment_meta_language()
S
63 6 10
translate_json()
S
59 5 12
autoglot_request_filter()
S
54 4 20
translate_content()
S
58 4 16
autoglot_register_widget()
S
70 5 6
plugin_loaded()
S
60 3 13
autoglot_hide_unapproved_comments()
S
63 3 11
autoglot_set_lang_attr()
S
71 3 5
autoglot_parse_request()
S
65 3 9
autoglot_activate_new_blog()
S
67 2 8
start()
S
77 2 4
autoglot_comment_language()
S
79 1 3
languagelinks()
S
70 1 5
add_autoglot_css()
S
78 1 3
sortByLength()
S
79 1 3
plugin_install_error()
S
78 1 3
plugin_deactivated()
S
81 1 3
wp_init()
S
80 1 3
wp_main()
S
100 1 2
add_autoglot_js()
S
74 1 4
language_active()
S
79 1 3