TRP_Url_Converter D

Total Complexity 164
Dependencies 2
Dependents 2
Total lines 751
Lines of code 482
Logical lines of code 335
Comment lines 159
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
get_url_for_language()
D
20
57 186
get_lang_from_url_string()
A
44 13 43
is_sitemap_path()
A
53 13 21
get_abs_home()
A
47 12 34
woocommerce_filter_permalinks_on_other_languages()
A
45 10 39
add_hreflang_to_head()
A
49 10 28
is_admin_request()
A
51 9 26
add_language_to_home_url()
S
57 8 15
woocommerce_filter_permalink_option()
S
53 7 21
get_url_slug()
S
63 6 10
prevent_permalink_update_on_other_languages()
S
67 4 7
cur_page_url()
S
57 3 15
url_is_extra()
S
64 3 9
change_lang_attr_in_html_tag()
S
65 3 8
url_is_file()
S
64 3 9
maybe_add_pagination_to_blog_page()
S
66 2 8
__construct()
S
81 1 3