Permalink_Manager_Language_Plugins D

Total Complexity 182
Dependencies 2
Dependents 2
Total lines 628
Lines of code 421
Logical lines of code 288
Comment lines 75
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
prepend_lang_prefix()
C
41 28 44
init_hooks()
B
38 21 58
detect_uri_language()
B
44 18 36
translate_permastructure()
A
52 14 20
get_all_languages()
A
49 12 28
fix_language_mismatch()
A
47 11 37
wpml_translation_save_uri()
A
54 9 19
get_language_code()
A
50 8 27
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_duplicate_uri()
S
69 3 6
wpml_is_front_page()
S
70 3 5
translate_permalinks()
S
63 3 10
wpml_translate_post_type_slug()
S
69 2 6
regenerate_uri_after_wpml_translation_completed()
S
69 2 7
wpml_ignore_lang_query_parameter()
S
68 2 7
language_column_uri_editor()
S
71 2 5
__construct()
S
78 1 3