SPC_Order D

Total Complexity 205
Dependencies 5
Dependents 10
Total lines 949
Lines of code 727
Logical lines of code 358
Comment lines 45
Methods 102
Properties 4

Methods 102

Method Rating Maintainability Complexity Lines of code
create()
D
24
39 163
__construct()
A
56 8 17
add_log()
S
46 6 38
set_status()
S
53 6 22
can_access()
S
61 6 12
get_profit()
S
59 5 14
set_discounts()
S
60 5 14
get_discount_names()
S
59 4 16
get_galleries()
S
61 4 13
get_customer_last_name()
S
62 4 13
get_customer_first_name()
S
62 4 13
add_refund()
S
56 3 18
has_shipping_address()
S
66 4 8
get_status()
S
65 3 9
get_total_minus_refunds()
S
64 3 10
has_status()
S
68 3 7
get_items()
S
60 2 14
get_date()
S
69 2 6
has_discount()
S
79 2 3
has_billing_address()
S
72 2 6
has_refunds()
S
79 2 3
get_status_name()
S
70 2 7
set_price_has_tax()
S
69 2 7
get_status_object()
S
72 2 6
get_user()
S
78 2 3
get_status_description()
S
70 2 7
get_permalink()
S
64 2 9
get_customer()
S
70 2 7
get_shipping_address_formatted()
S
60 1 13
get_billing_address_formatted()
S
60 1 13
get_billing_first_name()
S
80 1 3
set_shipping_method()
S
80 1 3
get_currency()
S
80 1 3
set_payment_method()
S
80 1 3
get_payment_method_name()
S
80 1 3
get_payment_method()
S
80 1 3
get_shipping_method()
S
80 1 3
get_shipping_method_name()
S
80 1 3
get_shipping_tax()
S
79 1 3
set_shipping_tax()
S
79 1 3
set_shipping()
S
79 1 3
get_shipping_formatted()
S
70 1 6
get_shipping()
S
80 1 3
set_delivery_method()
S
80 1 3
get_delivery_method_name()
S
80 1 3
set_currency()
S
80 1 3
get_cart()
S
81 1 3
get_user_id()
S
81 1 3
get_invoice_permalink()
S
78 1 3
notify()
S
80 1 3
is_paid()
S
80 1 3
get_refunds()
S
80 1 3
get_order_key()
S
80 1 3
get_log()
S
67 1 9
get_comments()
S
75 1 4
get_name()
S
74 1 4
set_cart()
S
76 1 4
get_customer_id()
S
81 1 3
set_mode()
S
80 1 3
get_mode()
S
80 1 3
set_vat()
S
80 1 3
get_vat()
S
80 1 3
get_notes()
S
80 1 3
get_delivery_method()
S
80 1 3
set_discount()
S
79 1 3
get_customer_name()
S
79 1 3
get_shipping_last_name()
S
80 1 3
get_shipping_country()
S
80 1 3
get_shipping_postcode()
S
80 1 3
get_shipping_state()
S
80 1 3
get_shipping_city()
S
80 1 3
get_shipping_address2()
S
80 1 3
get_shipping_address1()
S
80 1 3
get_shipping_first_name()
S
80 1 3
get_subtotal()
S
80 1 3
get_email()
S
80 1 3
get_billing_country()
S
80 1 3
get_billing_postcode()
S
80 1 3
get_billing_state()
S
80 1 3
get_billing_city()
S
80 1 3
get_billing_address2()
S
80 1 3
get_billing_address1()
S
80 1 3
get_phone()
S
80 1 3
get_subtotal_formatted()
S
73 1 5
get_billing_last_name()
S
80 1 3
get_tax()
S
80 1 3
get_discount_formatted()
S
79 1 3
get_discount()
S
80 1 3
get_received_permalink()
S
67 1 7
get_discounts()
S
80 1 3
set_tax()
S
79 1 3
get_tax_formatted()
S
80 1 3
set_credits()
S
79 1 3
set_subtotal()
S
79 1 3
get_credits_formatted()
S
80 1 3
get_credits()
S
80 1 3
get_admin_permalink()
S
78 1 3
get_total_formatted()
S
72 1 5
get_total()
S
80 1 3
set_subtotal_tax()
S
79 1 3
get_subtotal_tax()
S
79 1 3
set_total()
S
79 1 3