WCJ_Price_By_Country_Core D

Total Complexity 172
Dependencies 4
Dependents 1
Total lines 879
Lines of code 549
Logical lines of code 269
Comment lines 266
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
get_customer_country_group_id()
C
41 28 45
change_price()
A
43 16 43
woocommerce_price_filter_sql()
A
43 14 42
price_filter_post_clauses()
A
50 12 24
init()
A
54 10 19
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
62 4 11
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