WCML_Multi_Currency B

Total Complexity 82
Dependencies 31
Dependents 8
Total lines 566
Lines of code 313
Logical lines of code 183
Comment lines 119
Methods 22
Properties 24

Methods 22

Method Rating Maintainability Complexity Lines of code
init_currencies()
B
38 22 70
are_filters_need_loading()
A
50 9 28
__construct()
S
41 4 58
switch_currency()
S
51 6 24
get_client_currency()
S
56 6 19
delete_currency_by_code()
S
59 6 15
get_exchange_rates()
S
60 4 13
get_currencies()
S
64 4 10
maybe_reset_cart_fragments()
S
65 2 12
init()
S
62 2 11
set_request_currency()
S
72 2 5
maybe_show_switching_currency_prompt_dialog()
S
76 2 5
get_currency_details_by_code()
S
71 2 6
get_rest_currency()
S
80 2 3
get_currency_code()
S
67 2 8
is_currency_active()
S
79 1 3
get_currency_codes()
S
82 1 3
get_default_currency()
S
82 1 3
set_client_currency()
S
70 1 6
disable()
S
76 1 4
get_currencies_without_cents()
S
79 1 3
enable()
S
76 1 4