WCPBC_Frontend B

Total Complexity 99
Dependencies 2
Dependents 1
Total lines 446
Lines of code 249
Logical lines of code 141
Comment lines 130
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()
A
52 9 23
init_session()
S
59 7 12
fix_real_ip()
S
61 7 10
pay_for_order_country()
S
55 5 20
update_order_review_fragments()
S
55 5 18
test_store_message()
S
60 5 11
verify_shipping_calculator_nonce()
S
66 5 7
get_cart_hash()
S
69 4 6
order_refunded()
S
61 3 12
test_default_location()
S
67 3 7
calculate_shipping_country()
S
67 3 7
update_order_meta()
S
64 3 9
shortcode_country_selector()
S
55 1 22
output_country_selector()
S
66 2 9
init()
S
57 1 15
frontend_init()
S
75 1 4
allowed_countries_filter()
S
75 1 4
allowed_countries()
S
81 1 3