WCPBC_Frontend B

Total Complexity 87
Dependencies 2
Dependents 1
Total lines 435
Lines of code 237
Logical lines of code 135
Comment lines 126
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
load_scripts()
A
50 11 24
set_customer_country()
A
58 10 12
checkout_country()
A
52 9 23
fix_real_ip()
S
61 7 10
maybe_calculate_totals()
S
60 6 12
init_session()
S
61 6 12
update_order_review_fragments()
S
55 5 18
test_store_message()
S
60 5 11
pay_for_order_country()
S
57 4 17
verify_shipping_calculator_nonce()
S
66 5 7
order_refunded()
S
61 3 12
update_order_meta()
S
64 3 9
test_default_location()
S
67 3 7
calculate_shipping_country()
S
67 3 7
shortcode_country_selector()
S
55 1 22
output_country_selector()
S
66 2 9
init()
S
58 1 14
frontend_init()
S
75 1 4
allowed_countries_filter()
S
75 1 4
allowed_countries()
S
81 1 3