WC_CSR_Sessions A

Total Complexity 61
Dependencies 1
Dependents 1
Total lines 287
Lines of code 180
Logical lines of code 106
Comment lines 48
Methods 19
Properties 6

Methods 19

Method Rating Maintainability Complexity Lines of code
find_items_in_carts()
A
48 13 30
quantity_in_carts()
A
48 11 30
get_all_items_in_carts()
S
56 6 17
render_product_columns()
S
61 5 12
woocommerce_before_cart_emptied()
S
63 4 11
__construct()
S
55 2 18
remove_cache_item_by_key()
S
70 2 6
woocommerce_prevent_adjust_line_item_product_stock()
S
68 2 7
woocommerce_updated_product_stock()
S
74 2 5
get_session()
S
71 2 6
woocommerce_variation_before_set_stock()
S
73 2 5
woocommerce_product_before_set_stock()
S
73 2 5
remove_cache_item()
S
73 2 5
woocommerce_update_cart_item_quantity()
S
80 1 3
woocommerce_remove_cart_item()
S
80 1 3
get_sessions()
S
82 1 3
get_cache_key()
S
79 1 3
product_columns()
S
71 1 5
array_insert_after()
S
69 1 6