WCCS_Cart D

Total Complexity 133
Dependencies 0
Dependents 3
Total lines 439
Lines of code 291
Logical lines of code 177
Comment lines 74
Methods 17
Properties 1

Methods 17

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
67 4 7
cart_initialized()
S
66 4 9
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_items_quantities()
S
64 3 10
__get()
S
67 3 8
display_prices_including_tax()
S
65 3 9
get_cart()
S
79 2 3
__construct()
S
78 2 3