WCML_Multi_Currency_Prices D

Total Complexity 169
Dependencies 4
Dependents 2
Total lines 879
Lines of code 583
Logical lines of code 302
Comment lines 94
Methods 40
Properties 3

Methods 40

Method Rating Maintainability Complexity Lines of code
check_admin_order_currency_code()
B
45 22 36
product_price_filter()
A
46 14 38
apply_rounding_rules()
A
46 12 39
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
43 2 54
filter_currency_thousand_sep_option()
S
66 3 8
filter_price_woocommerce_paypal_args()
S
64 3 9
filter_currency_decimal_sep_option()
S
66 3 8
convert_price_amount()
S
65 3 9
raw_price_filter()
S
64 3 10
price_in_specific_currency()
S
64 3 9
price_currency_filter()
S
65 3 10
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
filter_woocommerce_cart_subtotal()
S
69 1 6
recalculate_totals()
S
82 1 3
get_admin_order_currency_code()
S
81 1 3
add_currency_to_variation_prices_hash()
S
72 1 5
get_filter_widget_amount_step()
S
78 1 3
filter_currency_num_decimals_in_cart()
S
80 1 3
filter_widget_max_amount()
S
75 1 4
filter_widget_min_amount()
S
75 1 4
get_original_product_price()
S
79 1 3
__construct()
S
77 1 4