WCPBC_Pricing_Zone C

Total Complexity 116
Dependencies 7
Dependents 6
Total lines 723
Lines of code 322
Logical lines of code 167
Comment lines 308
Methods 45
Properties 1

Methods 45

Method Rating Maintainability Complexity Lines of code
get_date_prop()
A
53 8 22
set_props()
A
53 8 21
get_postmeta()
S
55 7 19
set_postmeta()
S
59 7 14
is_exchange_rate_price()
S
57 6 15
get_price_prop()
S
56 5 18
get_input_var()
S
63 4 10
get_post_price()
S
59 3 15
get_exchange_rate_price()
S
61 3 13
set_defaults()
S
60 3 13
set_countries()
S
69 3 6
maybe_update_price()
S
71 3 5
round()
S
64 3 10
__construct()
S
67 3 7
cache_set()
S
66 3 9
set_exchange_rate()
S
69 3 6
maybe_cache_flush()
S
73 2 5
delete_postmeta()
S
69 2 7
set_id()
S
70 2 6
get_exchange_rate_price_by_post()
S
67 2 7
set_name()
S
70 2 6
cache_flush()
S
69 2 7
cache_get()
S
77 2 3
set_disable_tax_adjustment()
S
78 2 3
get_disable_tax_adjustment()
S
78 2 3
set_prop()
S
71 2 6
get_real_exchange_rate()
S
78 2 3
get_prop()
S
78 2 3
set_currency()
S
70 2 6
set_enabled()
S
78 2 3
updated_meta()
S
69 2 7
by_exchange_rate()
S
79 1 3
get_data()
S
82 1 3
get_base_currency_amount()
S
76 1 4
get_name()
S
80 1 3
add_postmeta()
S
75 1 4
get_postmetakey()
S
79 1 3
save()
S
80 1 3
set_order()
S
79 1 3
get_order()
S
80 1 3
get_enabled()
S
79 1 3
get_exchange_rate()
S
80 1 3
get_currency()
S
80 1 3
get_countries()
S
80 1 3
get_id()
S
80 1 3