TRP_Url_Converter D

Total Complexity 218
Dependencies 2
Dependents 2
Total lines 998
Lines of code 638
Logical lines of code 431
Comment lines 206
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
get_url_for_language()
D
17
70 213
add_hreflang_to_head()
A
43 15 44
get_lang_from_url_string()
A
42 14 49
is_sitemap_path()
A
52 14 21
add_language_to_home_url()
A
51 13 24
get_abs_home()
A
46 12 35
woocommerce_filter_permalinks_on_other_languages()
A
45 10 39
is_admin_request()
A
51 9 25
trp_get_woocommerce_saved_permalink()
A
50 8 28
woocommerce_filter_permalink_option()
A
52 8 24
cur_page_url()
S
52 6 22
url_is_file()
S
55 5 19
get_url_slug()
S
63 6 10
change_lang_attr_in_html_tag()
S
58 5 14
prevent_permalink_update_on_other_languages()
S
64 5 9
delete_woocommerce_transient_permalink()
S
60 4 12
replace_iso_2_with_iso_3_for_hreflang()
S
63 3 11
does_url_contains_array()
S
64 3 10
url_is_extra()
S
64 3 9
maybe_add_pagination_to_blog_page()
S
66 2 8
add_tp_language_lang_attribute()
S
72 1 5
strip_formality_from_language_code()
S
78 1 3
__construct()
S
76 1 4