WCML_Multi_Currency D

Total Complexity 130
Dependencies 30
Dependents 8
Total lines 734
Lines of code 438
Logical lines of code 261
Comment lines 121
Methods 25
Properties 24

Methods 25

Method Rating Maintainability Complexity Lines of code
get_client_currency()
D
30 39 100
init_currencies()
B
38 21 70
are_filters_need_loading()
A
50 9 28
maybe_get_currency_by_geolocation()
S
58 8 14
__construct()
S
41 4 57
switch_currency()
S
51 6 24
delete_currency_by_code()
S
59 6 15
get_currency_by_geolocation()
S
56 4 19
get_language_default_currency()
S
60 4 14
get_exchange_rates()
S
60 4 13
get_currencies()
S
64 4 10
maybe_reset_cart_fragments()
S
62 3 13
get_currency_details_by_code()
S
71 2 6
get_currency_code()
S
67 2 8
maybe_show_switching_currency_prompt_dialog()
S
76 2 5
init()
S
65 2 8
get_rest_currency()
S
79 2 3
get_default_currency()
S
82 1 3
disable()
S
76 1 4
enable()
S
76 1 4
get_currency_codes()
S
82 1 3
set_client_currency()
S
68 1 7
get_currencies_without_cents()
S
79 1 3
is_currency_active()
S
79 1 3
set_request_currency()
S
75 1 4