APPMAKER_WC_REST_Cart_Controller C

Total Complexity 115
Dependencies 7
Dependents 2
Total lines 641
Lines of code 465
Logical lines of code 236
Comment lines 95
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
get_cart_meta()
C
32 24 93
get_product_short_details()
B
44 20 35
set_quantity()
B
43 17 42
get_qty_args()
B
45 17 39
cart_items()
A
37 13 71
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