Permalink_Manager_Language_Plugins D

Total Complexity 263
Dependencies 5
Dependents 1
Total lines 1,050
Lines of code 587
Logical lines of code 399
Comment lines 302
Methods 31
Properties 0

Methods 31

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()
B
37 21 65
detect_uri_language()
B
43 20 40
wpml_save_uri_after_wpml_translation_completed()
A
44 16 39
translate_permastructure()
A
51 15 20
get_all_languages()
A
49 12 29
uri_editor_filter_sql_query()
A
51 9 23
pl_allow_canonical_redirect()
A
58 9 14
append_lang_prefix()
A
56 8 16
uri_editor_filter_lang()
S
51 7 24
wpml_editor_custom_permalink_field()
S
48 5 32
fix_posts_page()
S
61 6 11
translate_permalinks()
S
61 6 11
pl_translate_pagination_endpoint()
S
63 6 10
wpml_editor_custom_permalink_label()
S
62 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
pl_detect_pagination_endpoint()
S
65 4 9
get_translatepress_language_code()
S
67 4 7
wpml_is_front_page()
S
65 4 8
wpml_duplicate_uri()
S
67 3 7
wpml_translate_taxonomy_slug()
S
71 2 5
wpml_translate_post_type_slug()
S
71 2 5
uri_editor_get_lang_col()
S
70 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