CoCart_Cart_Cache S

Total Complexity 32
Dependencies 2
Dependents 1
Total lines 270
Lines of code 91
Logical lines of code 53
Comment lines 158
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
calculate_cached_items()
S
58 7 15
remove_cached_item()
S
57 5 18
set_new_price()
S
61 5 11
maybe_return_cached_price()
S
63 4 10
set_cached_item()
S
64 3 9
get_cart_contents_cached()
S
71 2 6
get_cached_item()
S
74 2 4
clear_cart_cached()
S
72 2 6
__construct()
S
64 1 9
does_product_allow_price_change()
S
78 1 3