TRP_Language_Switcher_Tab S

Total Complexity 40
Dependencies 2
Dependents 2
Total lines 487
Lines of code 323
Logical lines of code 111
Comment lines 88
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
sanitize_scope_config()
A
40 5 70
ajax_save_language_switcher()
A
52 8 21
get_localize_payload()
S
47 4 37
sanitize_layout_customizer()
S
54 5 20
ajax_disable_legacy_language_switcher()
S
54 5 19
default_switcher_config()
S
40 1 78
enqueue_assets()
S
53 2 25
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