WC_Checkout D

Total Complexity 241
Dependencies 12
Dependents 1
Total lines 1,341
Lines of code 756
Logical lines of code 428
Comment lines 423
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
validate_posted_data()
D
33 40 73
get_posted_data()
B
39 24 55
process_customer()
B
41 24 47
create_order()
A
39 15 58
get_checkout_fields()
A
38 14 68
process_checkout()
A
41 13 53
validate_checkout()
A
46 13 33
__get()
A
50 13 26
__set()
A
50 10 29
get_value()
A
50 9 28
set_customer_address_fields()
A
56 9 17
maybe_skip_fieldset()
S
63 8 9
create_order_line_items()
S
49 5 32
process_order_payment()
S
56 5 17
create_order_shipping_lines()
S
52 4 25
create_order_tax_lines()
S
54 4 20
get_posted_address_data()
S
65 5 8
send_ajax_failure_response()
S
58 4 15
update_session()
S
52 3 26
create_order_fee_lines()
S
54 3 21
create_order_coupon_lines()
S
57 2 17
process_order_without_payment()
S
58 2 17
set_data_from_cart()
S
57 2 15
__isset()
S
59 1 17
instance()
S
65 2 9
is_registration_required()
S
78 1 3
check_cart_items()
S
81 1 3
__wakeup()
S
78 1 3
checkout_form_billing()
S
79 1 3
__clone()
S
78 1 3
checkout_form_shipping()
S
79 1 3
is_registration_enabled()
S
78 1 3