WCCS_Cart D

Total Complexity 127
Dependencies 0
Dependents 3
Total lines 424
Lines of code 279
Logical lines of code 169
Comment lines 74
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
filter_cart_products()
D
36 53 65
get_cart_quantities_based_on()
A
45 13 44
filter_cart_items()
A
50 14 26
sort_cart_items()
A
51 8 26
get_products()
S
57 6 18
get_items_subtotal()
S
59 5 14
__call()
S
68 4 7
get_products_quantities()
S
64 4 10
products_exists_in_cart()
S
61 3 14
categories_exists_in_cart()
S
61 3 14
get_product_price()
S
63 3 11
__get()
S
67 3 8
get_items_quantities()
S
64 3 10
__construct()
S
78 2 3
display_prices_including_tax()
S
69 2 6
get_cart()
S
81 1 3