Permalink_Manager_Language_Plugins D

Total Complexity 247
Dependencies 4
Dependents 1
Total lines 999
Lines of code 553
Logical lines of code 374
Comment lines 292
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
prepend_lang_prefix()
C
42 27 41
get_language_code()
C
41 26 45
fix_language_mismatch()
C
39 25 58
init_hooks()
C
36 24 68
detect_uri_language()
B
44 20 38
translate_permastructure()
A
51 15 20
get_all_languages()
A
49 12 29
wpml_translation_save_uri()
A
55 9 17
wpml_save_uri_after_wpml_translation_completed()
A
56 8 17
append_lang_prefix()
A
56 8 16
pl_allow_canonical_redirect()
S
58 8 14
wpml_cte_edit_uri_field()
S
51 6 25
wpml_ate_edit_uri_field()
S
48 5 32
fix_posts_page()
S
61 6 11
pl_translate_pagination_endpoint()
S
63 6 10
wpml_translate_wc_endpoints()
S
59 5 13
get_default_language()
S
60 4 13
pl_get_translated_slugs()
S
61 4 13
wpml_is_front_page()
S
65 4 8
get_translatepress_language_code()
S
67 4 7
pl_detect_pagination_endpoint()
S
65 4 9
translate_permalinks()
S
64 3 10
wpml_duplicate_uri()
S
66 3 8
wpml_ignore_lang_query_parameter()
S
68 2 7
wpml_translate_post_type_slug()
S
71 2 5
uri_editor_get_lang_col()
S
71 2 5
is_wpml_compatible()
S
74 2 4
wpml_prevent_uri_save_before_translation_completed()
S
76 1 4
filter_get_language_code()
S
80 1 3
__construct()
S
78 1 3