WCJ_Price_By_Country_Core D

Total Complexity 178
Dependencies 3
Dependents 1
Total lines 851
Lines of code 552
Logical lines of code 272
Comment lines 244
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
get_customer_country_group_id()
C
40 32 49
change_price()
A
43 16 43
woocommerce_price_filter_sql()
A
43 14 42
price_filter_post_clauses()
A
49 14 25
init()
A
55 10 18
add_compatibility_with_price_filter_widget()
A
41 4 100
__construct()
A
54 8 20
add_hooks()
A
44 6 46
price_filter_post_clauses_sort()
S
52 7 23
get_country_group_id()
S
53 7 22
get_customer_country_by_ip()
S
56 7 17
price_filter_meta_query()
S
61 7 11
change_price_grouped()
S
56 5 17
handle_wc_points_rewards_settings()
S
57 5 16
convert_free_shipping_min_amount()
S
61 5 12
maybe_init_customer_country_by_ip()
S
62 5 11
change_currency_code()
S
64 5 10
set_default_checkout_country()
S
63 4 10
format_price_after_including_excluding_tax()
S
65 4 8
change_price_shipping()
S
64 3 9
get_currency_by_country()
S
71 3 5
save_currency_on_session_by_country()
S
70 2 6
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