WCJ_Price_by_Country_Core D

Total Complexity 154
Dependencies 3
Dependents 1
Total lines 790
Lines of code 502
Logical lines of code 230
Comment lines 240
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
get_customer_country_group_id()
C
42 28 44
woocommerce_price_filter_sql()
A
44 14 40
price_filter_post_clauses()
A
49 12 27
change_price()
A
50 10 27
add_compatibility_with_price_filter_widget()
A
41 4 100
add_hooks()
S
45 6 40
price_filter_post_clauses_sort()
S
53 7 21
get_country_group_id()
S
53 7 21
get_customer_country_by_ip()
S
56 7 17
__construct()
S
58 6 14
change_price_grouped()
S
57 5 17
handle_wc_points_rewards_settings()
S
57 5 16
init()
S
65 6 8
price_filter_meta_query()
S
62 6 10
convert_free_shipping_min_amount()
S
61 5 12
maybe_init_customer_country_by_ip()
S
63 4 10
set_default_checkout_country()
S
63 4 10
format_price_after_including_excluding_tax()
S
65 4 8
change_currency_code()
S
66 3 9
append_price_filter_post_meta_join()
S
66 2 8
save_currency_on_session_by_country()
S
71 2 6
change_price_shipping()
S
66 2 8
get_currency_by_country()
S
71 2 5
get_variation_prices_hash()
S
59 1 15
get_price_filter_post_meta_join()
S
74 1 4
enqueue_wselect_scripts()
S
71 1 5