Autoglot D

Total Complexity 257
Dependencies 8
Dependents 0
Total lines 1,196
Lines of code 770
Logical lines of code 553
Comment lines 243
Methods 38
Properties 23

Methods 38

Method Rating Maintainability Complexity Lines of code
__construct()
C
33 24 85
get_translation()
C
35 24 73
add_autoglot_floatbox()
B
38 23 61
process_page()
B
40 21 56
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
autoglot_request_filter()
S
54 4 20
translate_content()
S
58 4 16
autoglot_register_widget()
S
70 5 6
autoglot_hide_unapproved_comments()
S
61 4 13
translate_json()
S
60 4 11
autoglot_comment_text()
S
66 4 7
on_wp_redirect()
S
63 4 10
plugin_loaded()
S
60 3 13
autoglot_parse_request()
S
65 3 9
autoglot_set_lang_attr()
S
71 3 5
autoglot_filter_comments()
S
62 2 12
autoglot_get_comments_number()
S
64 2 9
autoglot_activate_new_blog()
S
67 2 8
start()
S
77 2 4
autoglot_comment_language()
S
79 1 3
add_autoglot_js()
S
74 1 4
sortByLength()
S
79 1 3
wp_main()
S
100 1 2
add_autoglot_css()
S
78 1 3
wp_init()
S
80 1 3
plugin_install_error()
S
78 1 3
plugin_deactivated()
S
81 1 3
language_active()
S
79 1 3