WCML_Multi_Currency_Orders B

Total Complexity 82
Dependencies 9
Dependents 1
Total lines 555
Lines of code 337
Logical lines of code 179
Comment lines 107
Methods 28
Properties 4

Methods 28

Method Rating Maintainability Complexity Lines of code
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
52 5 22
filter_order_status_query()
S
54 4 23
setTotalsForOrderNewItem()
S
52 4 23
updateTotalsForOrderItem()
S
59 4 14
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
getConvertedItemPrice()
S
64 3 9
_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
is_value_changed()
S
64 2 10
setCurrencyFromOrder()
S
67 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
total_is_changed()
S
78 1 3
set_converted_totals_for_item()
S
91 1 2
fix_currency_after_order_email()
S
75 1 4
is_currency_filter_applied()
S
75 1 4
add_woocommerce_hidden_order_itemmeta()
S
71 1 6