WCML_Multi_Currency_Orders B

Total Complexity 92
Dependencies 10
Dependents 1
Total lines 571
Lines of code 367
Logical lines of code 180
Comment lines 90
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
set_converted_totals_for_item()
B
38 18 65
get_currency_for_new_order()
A
52 8 25
get_converted_item_meta()
A
55 8 18
show_order_currency_selector()
S
44 5 54
show_orders_currencies_selector()
S
51 5 27
orders_init()
S
53 5 21
filter_order_status_query()
S
54 4 23
set_totals_for_order_items()
S
59 4 15
set_order_currency_on_ajax_update()
S
59 3 13
get_order_coupons_objects()
S
63 3 11
filter_orders_by_currency_join()
S
67 3 7
filter_orders_by_currency_where()
S
67 3 7
_override_woocommerce_order_currency_temporarily()
S
72 2 6
fix_currency_before_order_email()
S
67 2 8
get_order_currency_get()
S
77 2 3
get_order_currency_cookie()
S
69 2 7
__construct()
S
66 2 8
get_item_meta()
S
65 2 9
is_value_changed()
S
66 2 8
set_order_currency_on_update()
S
72 2 5
hpos_filter_orders_by_currency()
S
69 2 7
get_converted_meta_key()
S
80 1 3
add_woocommerce_hidden_order_itemmeta()
S
71 1 6
fix_currency_after_order_email()
S
75 1 4
is_currency_filter_applied()
S
75 1 4
total_is_changed()
S
78 1 3