Alg_WC_Cost_of_Goods_Orders D

Total Complexity 215
Dependencies 1
Dependents 0
Total lines 1,083
Lines of code 740
Logical lines of code 402
Comment lines 311
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
update_order_items_costs()
D
11
79 316
order_admin_notice()
A
58 15 11
add_hooks()
A
43 11 44
recalculate_order_ajax()
A
48 10 34
add_order_columns()
A
51 10 26
new_order_item_ajax()
A
60 9 12
woocommerce_email_order_meta()
A
45 7 38
save_order_items_ajax()
A
57 8 16
render_order_columns()
S
57 8 14
get_options()
S
42 3 49
add_handling_fee_input_shop_order()
S
56 5 16
add_cost_input_shop_order()
S
56 5 16
update_order_item_costs_on_order_meta_update()
S
59 5 14
get_array_value_by_dynamic_keys()
S
63 5 10
save_cost_input_shop_order_new()
S
61 3 12
get_order_total_for_pecentage_fees()
S
64 3 10
update_order_items_costs_save_post()
S
66 3 9
shop_order_sortable_columns()
S
65 3 9
update_order_items_costs_order_status_changed()
S
67 2 9
update_order_items_costs_new_item()
S
67 2 9
save_cost_input_shop_order_new_by_order()
S
68 2 8
get_order_column_key()
S
76 2 3
format_order_column_value()
S
77 2 3
hide_cost_input_meta_shop_order()
S
71 2 6
hide_handling_fee_input_meta_shop_order()
S
71 2 6
wf_pklist_remove_cog_meta()
S
71 2 6
trigger_woocommerce_new_order_on_new_order_via_rest()
S
67 2 8
save_cost_input_shop_order_save_post()
S
72 1 6
includes()
S
82 1 3
shop_order_pre_get_posts_order_by_column()
S
80 1 3
get_new_order_hooks_for_cost_updating()
S
67 1 9
__construct()
S
76 1 5