TRP_Url_Converter D

Total Complexity 171
Dependencies 2
Dependents 2
Total lines 795
Lines of code 511
Logical lines of code 352
Comment lines 168
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_url_for_language()
D
22
51 172
get_lang_from_url_string()
A
44 13 43
is_sitemap_path()
A
53 13 21
get_abs_home()
A
47 12 34
add_language_to_home_url()
A
51 12 24
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
trp_get_woocommerce_saved_permalink()
A
50 8 28
woocommerce_filter_permalink_option()
S
53 7 21
get_url_slug()
S
63 6 10
url_is_file()
S
57 4 15
cur_page_url()
S
57 3 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