WCML_Currency_Switcher A

Total Complexity 67
Dependencies 6
Dependents 2
Total lines 312
Lines of code 223
Logical lines of code 121
Comment lines 21
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
wcml_currency_switcher()
C
37 25 70
update_option_sidebars_widgets()
A
50 11 27
check_and_convert_switcher_style()
S
57 6 18
show_currency_switcher()
S
64 4 10
get_available_sidebars()
S
63 3 10
filter_allowed_currencies_on_frontend()
S
63 2 11
get_model_data()
S
62 2 11
get_switcher_default_settings()
S
58 1 18
get_registered_sidebars()
S
76 2 4
get_css_classes()
S
66 2 8
add_user_agent_touch_device_classes()
S
71 2 6
get_settings()
S
71 2 5
currency_switcher()
S
81 1 3
add_hooks()
S
78 1 3
currency_switcher_shortcode()
S
68 1 8
on_init()
S
67 1 7
__construct()
S
77 1 4