Permalink_Manager_Language_Plugins D

Total Complexity 208
Dependencies 2
Dependents 2
Total lines 668
Lines of code 451
Logical lines of code 308
Comment lines 79
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
prepend_lang_prefix()
C
42 27 41
get_language_code()
B
41 25 45
init_hooks()
B
38 22 60
detect_uri_language()
B
44 18 36
fix_language_mismatch()
B
43 17 46
translate_permastructure()
A
51 15 20
get_all_languages()
A
49 12 28
wpml_translation_save_uri()
A
54 9 19
append_lang_prefix()
A
56 8 16
fix_posts_page()
S
61 7 11
wpml_translation_edit_uri()
S
51 6 25
wpml_translate_wc_endpoints()
S
58 5 14
wpml_redirect()
S
68 5 6
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
63 3 10
wpml_duplicate_uri()
S
69 3 6
language_column_uri_editor()
S
71 2 5
regenerate_uri_after_wpml_translation_completed()
S
69 2 7
wpml_translate_post_type_slug()
S
69 2 6
wpml_ignore_lang_query_parameter()
S
68 2 7
is_wpml_compatible()
S
74 2 4
__construct()
S
78 1 3