WCJ_Price_by_Country_Core D

Total Complexity 161
Dependencies 3
Dependents 1
Total lines 821
Lines of code 524
Logical lines of code 244
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
change_price()
A
44 15 41
woocommerce_price_filter_sql()
A
44 14 40
price_filter_post_clauses()
A
49 12 27
add_compatibility_with_price_filter_widget()
A
41 4 100
__construct()
A
53 8 22
add_hooks()
S
45 6 40
get_country_group_id()
S
53 7 21
price_filter_post_clauses_sort()
S
53 7 21
get_customer_country_by_ip()
S
56 7 17
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
format_price_after_including_excluding_tax()
S
65 4 8
set_default_checkout_country()
S
63 4 10
maybe_init_customer_country_by_ip()
S
63 4 10
change_currency_code()
S
66 3 9
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
append_price_filter_post_meta_join()
S
66 2 8
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