WCML_Multi_Currency_Prices D

Total Complexity 133
Dependencies 9
Dependents 2
Total lines 855
Lines of code 501
Logical lines of code 253
Comment lines 167
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
check_admin_order_currency_code()
B
46 19 34
apply_rounding_rules()
A
46 12 39
product_price_filter()
A
44 11 46
variation_prices_filter()
A
52 11 23
price_filter_post_clauses()
S
50 7 27
calculate_exchange_rate_price()
S
54 7 20
unconvert_price_amount()
S
57 6 17
filter_wc_price_args()
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_price_woocommerce_paypal_args()
S
64 3 9
raw_price_filter()
S
64 3 10
formatted_price()
S
68 2 7
filter_pre_selected_widget_prices_in_new_currency()
S
64 2 10
filter_currency_option_in_global_secondary_currency()
S
67 2 8
filter_wc_price_args_on_order_admin_screen()
S
72 2 6
convert_raw_woocommerce_price()
S
70 2 6
is_multi_currency_filters_loaded()
S
70 2 7
round_up()
S
67 2 8
convert_price_amount_by_currencies()
S
66 2 8
currency_filter()
S
71 2 6
price_currency_filter()
S
72 2 6
filter_woocommerce_cart_contents_total()
S
61 1 14
format_price_in_currency()
S
62 1 11
filter_currency_position_option()
S
79 1 3
get_original_product_price()
S
79 1 3
enableSavingPost()
S
81 1 3
get_price_format_in_currency()
S
70 1 6
disableSavingPost()
S
81 1 3
filter_currency_num_decimals_in_cart()
S
80 1 3
get_currency_option()
S
78 1 3
filter_currency_decimal_sep_option()
S
79 1 3
filter_currency_num_decimals_option()
S
79 1 3
filter_currency_thousand_sep_option()
S
79 1 3
get_admin_order_currency_code()
S
81 1 3
filter_widget_min_amount()
S
75 1 4
filter_widget_max_amount()
S
75 1 4
get_filter_widget_amount_step()
S
78 1 3
filter_woocommerce_cart_subtotal()
S
69 1 6
recalculate_totals()
S
82 1 3
add_currency_to_variation_prices_hash()
S
72 1 5
__construct()
S
77 1 4