WC_Checkout D

Total Complexity 245
Dependencies 12
Dependents 1
Total lines 1,353
Lines of code 764
Logical lines of code 433
Comment lines 426
Methods 32
Properties 4

Methods 32

Method Rating Maintainability Complexity Lines of code
validate_posted_data()
D
33 40 73
get_posted_data()
C
38 26 58
process_customer()
B
41 24 47
create_order()
B
39 16 60
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 18
update_session()
S
50 4 29
create_order_shipping_lines()
S
52 4 25
create_order_tax_lines()
S
54 4 20
send_ajax_failure_response()
S
58 4 15
get_posted_address_data()
S
65 5 8
create_order_fee_lines()
S
54 3 21
process_order_without_payment()
S
58 2 17
create_order_coupon_lines()
S
58 2 16
set_data_from_cart()
S
57 2 15
__isset()
S
59 1 17
instance()
S
65 2 9
checkout_form_shipping()
S
79 1 3
checkout_form_billing()
S
79 1 3
check_cart_items()
S
81 1 3
is_registration_enabled()
S
78 1 3
is_registration_required()
S
78 1 3
__wakeup()
S
78 1 3
__clone()
S
78 1 3