WCPBC_Frontend A

Total Complexity 74
Dependencies 2
Dependents 1
Total lines 336
Lines of code 192
Logical lines of code 101
Comment lines 99
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
load_scripts()
A
51 11 23
set_customer_country()
A
58 10 12
checkout_country()
S
57 7 17
init_session()
S
60 6 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
calculate_shipping_country()
S
67 3 7
test_default_location()
S
67 3 7
shortcode_country_selector()
S
55 1 23
output_country_selector()
S
66 2 9
init()
S
60 1 12
allowed_countries_filter()
S
75 1 4
allowed_countries()
S
81 1 3