Permalink_Manager_Language_Plugins D

Total Complexity 218
Dependencies 4
Dependents 1
Total lines 913
Lines of code 503
Logical lines of code 343
Comment lines 268
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
prepend_lang_prefix()
C
42 27 41
get_language_code()
B
41 25 45
init_hooks()
B
37 23 64
detect_uri_language()
B
44 20 38
fix_language_mismatch()
B
42 18 51
translate_permastructure()
A
51 15 20
get_all_languages()
A
49 12 29
wpml_save_uri_after_wpml_translation_completed()
A
56 8 17
wpml_translation_save_uri()
A
56 8 16
append_lang_prefix()
A
56 8 16
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
wpml_translate_wc_endpoints()
S
59 5 13
get_default_language()
S
60 4 13
pl_allow_canonical_redirect()
S
62 4 11
get_translatepress_language_code()
S
67 4 7
wpml_is_front_page()
S
70 3 5
translate_permalinks()
S
64 3 10
wpml_duplicate_uri()
S
66 3 8
uri_editor_get_lang_col()
S
71 2 5
wpml_translate_post_type_slug()
S
71 2 5
wpml_ignore_lang_query_parameter()
S
68 2 7
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