WCML_Multi_Currency_Prices D

Total Complexity 168
Dependencies 5
Dependents 2
Total lines 918
Lines of code 599
Logical lines of code 310
Comment lines 113
Methods 42
Properties 4

Methods 42

Method Rating Maintainability Complexity Lines of code
check_admin_order_currency_code()
B
45 22 36
apply_rounding_rules()
A
46 12 39
product_price_filter()
A
44 11 46
variation_prices_filter()
A
52 11 23
filter_currency_num_decimals_option()
A
54 11 19
price_filter_post_clauses()
S
50 7 27
apply_currency_position()
S
48 6 37
filter_wc_price_args()
S
55 6 20
unconvert_price_amount()
S
57 6 17
calculate_exchange_rate_price()
S
57 6 16
save_order_currency_for_filter()
S
58 6 14
format_price_in_currency()
S
51 5 27
filter_currency_position_option()
S
56 5 19
get_product_price_in_currency()
S
51 4 30
add_hooks()
S
42 2 56
convert_price_amount()
S
65 3 9
filter_currency_thousand_sep_option()
S
66 3 8
filter_currency_decimal_sep_option()
S
66 3 8
price_in_specific_currency()
S
64 3 9
price_currency_filter()
S
65 3 10
raw_price_filter()
S
64 3 10
filter_price_woocommerce_paypal_args()
S
64 3 9
convert_raw_woocommerce_price()
S
70 2 6
filter_pre_selected_widget_prices_in_new_currency()
S
64 2 10
is_multi_currency_filters_loaded()
S
70 2 7
round_up()
S
67 2 8
formatted_price()
S
68 2 7
convert_price_amount_by_currencies()
S
66 2 8
currency_filter()
S
71 2 6
filter_woocommerce_cart_contents_total()
S
61 1 14
recalculate_totals()
S
82 1 3
filter_currency_num_decimals_in_cart()
S
80 1 3
get_original_product_price()
S
79 1 3
enableSavingPost()
S
81 1 3
disableSavingPost()
S
81 1 3
get_filter_widget_amount_step()
S
78 1 3
filter_widget_min_amount()
S
75 1 4
filter_widget_max_amount()
S
75 1 4
filter_woocommerce_cart_subtotal()
S
69 1 6
get_admin_order_currency_code()
S
81 1 3
add_currency_to_variation_prices_hash()
S
72 1 5
__construct()
S
77 1 4