Woo_Stock_Product D

Total Complexity 172
Dependencies 7
Dependents 1
Total lines 901
Lines of code 614
Logical lines of code 332
Comment lines 130
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
add_stock_status_in_order_confirmation()
B
38 21 64
cart_stock_status()
A
45 14 36
add_product_id_to_collection_block()
A
47 10 31
add_stack_status_before_after_price()
A
54 9 19
__construct()
A
42 7 46
woo_custom_stock_status_func()
A
52 8 22
prevent_stock_html_duplication()
S
60 8 12
custom_script()
S
47 5 52
add_stock_status_as_cart_item_data()
S
52 6 22
display_stock_status_on_cart()
S
55 6 20
get_custom_stock_status()
S
56 6 17
add_stack_status_in_product_detail()
S
58 6 14
save_stock_status_message()
S
59 6 14
woocommerce_blocks_product_grid_stock_status()
S
51 5 25
woo_stock_status_fields()
S
48 4 39
hide_order_meta_data_in_decription()
S
57 5 15
display_custom_stock_status_on_b2bking()
S
63 5 9
format_backend_stock_status_label()
S
62 5 10
woo_variation_stock_status_field()
S
58 4 14
save_variation_stock_status()
S
63 4 9
isItemValid()
S
67 4 8
enqueue_custom_cart_script()
S
60 3 13
register_custom_store_api_data()
S
52 2 28
cart_page_stock_status()
S
62 3 12
checkout_page_stock_status()
S
65 3 8
rename_order_meta_key_on_invoice()
S
71 2 6
hide_order_meta_data()
S
68 2 7
add_hide_option_in_product_inventry()
S
63 2 10
save_custom_inventory_option()
S
74 2 4
update_stock_status_to_order_item_meta()
S
68 2 7
woo_add_simple_product_stock_status()
S
61 1 13
hide_cart_default_backorder_notification()
S
82 1 3
add_stack_status_in_summary()
S
74 1 5