WC_CSR_Sessions A

Total Complexity 65
Dependencies 1
Dependents 1
Total lines 300
Lines of code 191
Logical lines of code 112
Comment lines 49
Methods 20
Properties 6

Methods 20

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
54 2 19
woocommerce_prevent_adjust_line_item_product_stock()
S
66 3 9
wp_login()
S
66 3 8
woocommerce_updated_product_stock()
S
74 2 5
remove_cache_item_by_key()
S
70 2 6
woocommerce_variation_before_set_stock()
S
73 2 5
get_session()
S
71 2 6
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