WCCT_stock D

Total Complexity 127
Dependencies 3
Dependents 1
Total lines 490
Lines of code 310
Logical lines of code 213
Comment lines 92
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
wcct_woocommerce_product_is_in_stock()
D
30 43 99
wcct_maybe_save_product_stock_state()
B
44 20 38
wcct_backorders_allowed()
B
47 19 32
wcct_maybe_save_product_stock_state_for_variations()
B
45 18 37
wcct_manage_stock_qty()
A
53 8 21
wcct_modify_manage_stock()
A
53 8 21
attach_hooks()
S
54 3 20
detach_hooks()
S
55 2 18
get_instance()
S
72 2 6
wcct_remove_woocommerce_checkout_order_created()
S
70 2 6
__construct()
S
65 1 8
detach_hooks_after_payment()
S
77 1 4