APPMAKER_WC_REST_Cart_Controller C

Total Complexity 111
Dependencies 7
Dependents 2
Total lines 630
Lines of code 453
Logical lines of code 228
Comment lines 94
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_cart_meta()
C
32 23 93
get_product_short_details()
B
44 20 35
set_quantity()
B
43 17 41
get_qty_args()
A
47 15 31
cart_items()
A
38 12 68
add_to_cart()
S
51 6 25
register_routes()
S
39 1 98
get_cart_items()
S
58 5 15
add_coupon()
S
58 4 16
remove_coupon()
S
58 4 16
get_cart_count()
S
68 2 7
force_clear_cart()
S
67 2 8