TRP_Url_Converter D

Total Complexity 178
Dependencies 2
Dependents 2
Total lines 810
Lines of code 520
Logical lines of code 355
Comment lines 173
Methods 18
Properties 2

Methods 18

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