WCPBC_Frontend B

Total Complexity 93
Dependencies 2
Dependents 1
Total lines 407
Lines of code 232
Logical lines of code 125
Comment lines 123
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
maybe_refresh_cart()
A
57 12 14
load_scripts()
A
50 11 24
set_customer_country()
A
58 10 12
checkout_country()
S
57 7 17
init_session()
S
59 7 12
update_order_review_fragments()
S
55 5 18
test_store_message()
S
60 5 11
set_remote_addr_to_real_ip()
S
68 5 6
pay_for_order_country()
S
59 4 15
verify_shipping_calculator_nonce()
S
66 5 7
get_cart_hash()
S
69 4 6
test_default_location()
S
67 3 7
order_refunded()
S
64 3 10
calculate_shipping_country()
S
67 3 7
shortcode_country_selector()
S
55 1 23
update_order_meta()
S
65 2 9
output_country_selector()
S
66 2 9
init()
S
57 1 15
frontend_init()
S
79 1 3
allowed_countries_filter()
S
75 1 4
allowed_countries()
S
81 1 3