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 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
wcct_woocommerce_product_is_in_stock() | 30 | 43 | 99 | |
wcct_maybe_save_product_stock_state() | 44 | 20 | 38 | |
wcct_backorders_allowed() | 47 | 19 | 32 | |
wcct_maybe_save_product_stock_state_for_variations() | 45 | 18 | 37 | |
wcct_manage_stock_qty() | 53 | 8 | 21 | |
wcct_modify_manage_stock() | 53 | 8 | 21 | |
attach_hooks() | 54 | 3 | 20 | |
detach_hooks() | 55 | 2 | 18 | |
get_instance() | 72 | 2 | 6 | |
wcct_remove_woocommerce_checkout_order_created() | 70 | 2 | 6 | |
__construct() | 65 | 1 | 8 | |
detach_hooks_after_payment() | 77 | 1 | 4 |