TRP_Language_Switcher C

Total Complexity 110
Dependencies 3
Dependents 1
Total lines 559
Lines of code 364
Logical lines of code 235
Comment lines 107
Methods 12
Properties 5

Methods 12

Method Rating Maintainability Complexity Lines of code
add_floater_language_switcher()
D
27
41 137
ls_menu_permalinks()
B
37 19 68
language_switcher()
A
44 9 43
redirect_to_correct_language()
A
53 10 20
get_current_language()
A
56 9 16
enqueue_language_switcher_scripts()
S
61 6 10
determine_needed_language()
S
61 5 12
add_shortcode_preferences()
S
57 4 18
cpt_always_visible_in_menus()
S
72 3 5
add_flag()
S
60 2 12
register_ls_menu_switcher()
S
60 1 14
__construct()
S
64 1 9