WCML_Currency_Switcher B

Total Complexity 78
Dependencies 6
Dependents 2
Total lines 357
Lines of code 248
Logical lines of code 137
Comment lines 35
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
do_currency_switcher()
B
39 22 57
update_option_sidebars_widgets()
A
50 11 27
should_display_currency_switcher_based_on_custom_prices()
A
50 10 28
check_and_convert_switcher_style()
S
57 6 18
wcml_currency_switcher()
S
64 4 10
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_settings()
S
71 2 5
get_css_classes()
S
66 2 8
add_user_agent_touch_device_classes()
S
71 2 6
get_registered_sidebars()
S
76 2 4
__construct()
S
77 1 4
add_hooks()
S
78 1 3
on_init()
S
67 1 7
currency_switcher_shortcode()
S
68 1 8
currency_switcher()
S
81 1 3