CoCart_REST_Session_V2_Controller B

Total Complexity 77
Dependencies 8
Dependents 0
Total lines 839
Lines of code 324
Logical lines of code 132
Comment lines 434
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
get_item()
A
40 9 57
return_session_data()
A
41 9 54
delete_cart()
S
51 7 24
get_cart_items_in_session()
S
53 6 19
get_cart_in_session()
S
54 5 18
get_cart_contents_weight()
S
59 5 13
get_fees()
S
59 4 13
get_tax_price_display_mode()
S
63 4 10
register_routes()
S
49 1 39
get_customer()
S
65 3 9
get_items_permissions_check()
S
69 2 6
fee_html()
S
73 2 4
get_totals_var()
S
74 2 4
get_fee_tax()
S
79 1 3
get_shipping_taxes()
S
79 1 3
display_prices_including_tax()
S
79 1 3
get_cart_contents_taxes()
S
79 1 3
get_fee_taxes()
S
79 1 3
get_total_tax()
S
79 1 3
get_fee_total()
S
79 1 3
get_subtotal_tax()
S
79 1 3
get_total()
S
79 1 3
get_shipping_tax()
S
79 1 3
get_shipping_total()
S
79 1 3
get_discount_tax()
S
79 1 3
get_discount_total()
S
79 1 3
get_subtotal()
S
79 1 3
needs_payment()
S
79 1 3
get_cart_contents_count()
S
78 1 3
get_applied_coupons()
S
79 1 3
get_removed_cart_contents()
S
79 1 3