WCCT_stock C

Total Complexity 123
Dependencies 3
Dependents 1
Total lines 486
Lines of code 306
Logical lines of code 209
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()
S
55 6 19
wcct_modify_manage_stock()
S
55 6 19
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