TRP_Language_Switcher_Tab S

Total Complexity 43
Dependencies 2
Dependents 3
Total lines 494
Lines of code 328
Logical lines of code 114
Comment lines 89
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
sanitize_scope_config()
A
40 5 71
ajax_save_language_switcher()
A
52 8 21
enqueue_assets()
S
51 5 28
get_localize_payload()
S
47 4 37
sanitize_layout_customizer()
S
54 5 20
default_switcher_config()
S
40 1 79
ajax_disable_legacy_language_switcher()
S
54 5 19
get_initial_config()
S
66 3 8
sanitize_custom_css()
S
62 2 12
__construct()
S
65 1 8
add_tab_to_navigation()
S
64 1 9
add_submenu_page()
S
65 1 10
language_switcher_page_content()
S
80 1 3
is_legacy_enabled()
S
78 1 3