ER_Order D

Total Complexity 191
Dependencies 10
Dependents 12
Total lines 1,630
Lines of code 654
Logical lines of code 296
Comment lines 757
Methods 103
Properties 1

Methods 103

Method Rating Maintainability Complexity Lines of code
get_formatted_total()
A
48 13 28
payment_complete()
A
44 10 43
add_reservation()
A
50 8 27
set_address_prop()
S
62 6 11
maybe_set_date_paid()
S
62 6 10
get_item_count_refunded()
S
58 5 15
get_tax_refunded_for_item()
S
58 5 14
get_changes()
S
61 4 12
get_total_tax_refunded_by_rate_id()
S
62 4 11
get_total_refunded_for_item()
S
62 4 11
add_order_item_totals_refund_rows()
S
61 4 11
get_order_item_totals()
S
53 3 22
get_customer_order_notes()
S
55 3 19
finalize()
S
58 3 15
get_address_prop()
S
62 4 10
add_order_item_totals_payment_method_row()
S
65 4 8
maybe_set_user_email()
S
64 4 10
set_payment_method()
S
63 3 11
get_refunds()
S
57 2 17
get_cancel_endpoint()
S
64 3 10
set_email()
S
69 3 6
get_checkout_payment_url()
S
60 2 14
get_data()
S
58 1 17
get_total_refunded()
S
63 2 10
needs_payment()
S
73 2 4
get_formatted_address()
S
71 2 5
set_status()
S
68 2 7
get_total_tax_refunded()
S
63 2 10
get_user()
S
78 2 3
add_order_note()
S
70 2 6
get_cancel_order_url()
S
61 1 14
get_cancel_order_url_raw()
S
61 1 13
get_remaining_refund_amount()
S
78 1 3
set_date_paid()
S
80 1 3
set_phone()
S
80 1 3
set_payment_method_title()
S
80 1 3
set_transaction_id()
S
80 1 3
set_customer_ip_address()
S
80 1 3
set_customer_user_agent()
S
80 1 3
set_created_via()
S
80 1 3
set_customer_note()
S
80 1 3
set_date_completed()
S
80 1 3
set_paid()
S
79 1 3
substract_from_paid()
S
78 1 3
get_remaining_refund_items()
S
79 1 3
add_to_paid()
S
79 1 3
has_cart_hash()
S
79 1 3
is_editable()
S
67 1 8
get_edit_order_url()
S
77 1 3
is_paid()
S
78 1 3
is_created_via()
S
78 1 3
get_view_order_url()
S
77 1 3
get_checkout_order_received_url()
S
71 1 5
needs_processing()
S
79 1 3
untrash()
S
81 1 3
set_country()
S
80 1 3
get_city()
S
79 1 3
get_customer_ip_address()
S
79 1 3
get_transaction_id()
S
79 1 3
get_payment_method_title()
S
79 1 3
get_payment_method()
S
79 1 3
get_phone()
S
79 1 3
get_email()
S
79 1 3
get_country()
S
79 1 3
get_postcode()
S
79 1 3
get_state()
S
79 1 3
get_address_2()
S
79 1 3
get_created_via()
S
79 1 3
get_address_1()
S
79 1 3
get_company()
S
79 1 3
get_last_name()
S
79 1 3
get_first_name()
S
79 1 3
get_user_id()
S
80 1 3
get_customer_id()
S
79 1 3
get_order_key()
S
79 1 3
get_order_number()
S
78 1 3
handle_exception()
S
65 1 10
get_customer_user_agent()
S
79 1 3
get_locale()
S
79 1 3
set_postcode()
S
80 1 3
set_customer_id()
S
79 1 3
set_state()
S
80 1 3
set_city()
S
80 1 3
save()
S
72 1 6
set_address_1()
S
80 1 3
set_company()
S
80 1 3
set_last_name()
S
80 1 3
set_first_name()
S
80 1 3
set_locale()
S
79 1 3
set_cart_hash()
S
79 1 3
set_order_key()
S
78 1 3
get_customer_note()
S
79 1 3
get_reservations()
S
80 1 3
get_coupons()
S
80 1 3
get_edit_link()
S
75 1 3
get_amount_due()
S
78 1 3
get_formatted_full_name()
S
77 1 3
get_address()
S
77 1 3
get_cart_hash()
S
79 1 3
get_paid()
S
79 1 3
get_date_paid()
S
79 1 3
get_date_completed()
S
79 1 3
set_address_2()
S
80 1 3