Autoglot D

Total Complexity 273
Dependencies 8
Dependents 0
Total lines 1,279
Lines of code 819
Logical lines of code 596
Comment lines 272
Methods 39
Properties 25

Methods 39

Method Rating Maintainability Complexity Lines of code
process_page()
D
32 31 93
__construct()
C
32 25 90
get_translation()
C
35 24 73
add_autoglot_floatbox()
B
38 23 61
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_hide_unapproved_comments()
S
58 5 15
autoglot_add_comment_meta_language()
S
63 6 10
autoglot_request_filter()
S
54 4 20
translate_content()
S
58 4 16
autoglot_woocommerce_page_link()
S
63 5 9
autoglot_register_widget()
S
70 5 6
translate_json()
S
60 4 11
on_wp_redirect()
S
63 4 10
autoglot_comment_text()
S
66 4 7
plugin_loaded()
S
60 3 13
autoglot_set_lang_attr()
S
71 3 5
autoglot_parse_request()
S
65 3 9
autoglot_comments_clauses()
S
61 2 12
autoglot_activate_new_blog()
S
67 2 8
start()
S
77 2 4
autoglot_comment_language()
S
79 1 3
wp_main()
S
100 1 2
sortByLength()
S
79 1 3
add_autoglot_js()
S
74 1 4
autoglot_get_comments_number()
S
72 1 5
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