TRP_Url_Converter D

Total Complexity 199
Dependencies 2
Dependents 2
Total lines 962
Lines of code 585
Logical lines of code 390
Comment lines 221
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
check_if_url_is_valid_and_set_cache()
B
37 22 68
get_url_for_language()
B
35 20 74
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_permalink_option()
A
48 12 29
woocommerce_filter_permalinks_on_other_languages()
A
45 11 39
is_admin_request()
A
51 9 25
trp_get_woocommerce_saved_permalink()
A
50 8 28
cur_page_url()
S
54 6 19
url_is_file()
S
54 5 20
get_url_slug()
S
63 6 10
change_lang_attr_in_html_tag()
S
58 5 14
delete_woocommerce_transient_permalink()
S
60 5 12
prevent_permalink_update_on_other_languages()
S
64 5 9
get_path_no_lang_slug_from_url()
S
57 3 15
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