WC_AJAX D

Total Complexity 546
Dependencies 32
Dependents 1
Total lines 3,605
Lines of code 2,279
Logical lines of code 1,330
Comment lines 819
Methods 103
Properties 0

Methods 103

Method Rating Maintainability Complexity Lines of code
update_order_review()
D
33 32 85
refund_line_items()
B
37 23 65
shipping_zone_methods_save_changes()
B
32 20 108
remove_order_item()
B
36 19 71
grant_access_to_download()
A
40 15 57
update_api_key()
A
35 13 86
json_search_products()
A
41 15 50
shipping_classes_save_changes()
A
38 13 74
tax_rates_save_changes()
A
40 13 62
json_search_categories_tree()
A
41 11 57
product_ordering()
A
45 12 39
add_order_fee()
A
43 11 44
remove_order_coupon()
A
44 11 40
maybe_add_order_item()
A
41 10 55
shipping_zones_save_changes()
A
42 9 59
json_search_categories()
A
44 10 41
json_search_customers()
A
45 10 40
term_ordering()
A
54 11 18
add_ajax_events()
A
35 5 103
toggle_gateway_enabled()
A
46 9 38
save_attributes()
A
47 9 33
add_to_cart()
A
48 9 31
json_search_product_attributes()
A
49 8 27
load_variations()
A
45 7 39
add_order_note()
A
45 7 39
bulk_edit_variations()
A
48 7 31
add_order_tax()
S
49 7 29
json_search_taxonomy_terms()
S
51 7 24
delete_refund()
S
56 7 16
json_search_pages()
S
48 6 30
shipping_zone_add_method()
S
45 5 44
mark_order_status()
S
58 7 13
add_order_shipping()
S
50 6 26
save_variations()
S
52 6 22
shipping_zone_remove_method()
S
48 5 36
json_search_downloadable_products_and_variations()
S
53 6 19
add_order_item()
S
54 6 18
get_customer_details()
S
56 6 16
variation_bulk_action_variable_sale_schedule()
S
58 6 15
add_new_attribute()
S
51 5 27
feature_product()
S
60 6 11
remove_order_tax()
S
51 5 24
shipping_zone_methods_save_settings()
S
49 4 32
remove_variations()
S
59 5 13
save_order_items()
S
51 4 27
add_attribute()
S
54 4 20
link_all_variations()
S
57 4 16
variation_bulk_action_variable_low_stock_amount()
S
59 4 15
variation_bulk_action_variable_stock()
S
59 4 15
define_ajax()
S
62 5 10
add_attributes_and_variations()
S
57 4 15
get_variation()
S
59 4 14
update_shipping_method()
S
59 4 13
get_order_details()
S
60 4 12
delete_order_note()
S
62 4 11
add_variation()
S
54 3 19
remove_from_cart()
S
64 4 9
variation_bulk_action_delete_all()
S
65 4 8
revoke_access_to_download()
S
58 3 14
variation_bulk_adjust_price()
S
58 3 14
do_wc_ajax()
S
60 3 13
create_product_with_attributes()
S
59 3 13
wc_ajax_headers()
S
60 3 13
remove_coupon()
S
60 3 12
load_order_items()
S
62 3 10
variation_bulk_action_toggle_enabled()
S
67 3 7
apply_coupon()
S
62 2 11
update_order_review_expired()
S
58 1 17
rated()
S
68 2 7
create_all_product_variations()
S
64 2 9
variation_bulk_toggle()
S
66 2 8
variation_bulk_set()
S
68 2 7
get_refreshed_fragments()
S
60 1 15
order_delete_meta()
S
80 1 3
order_refresh_lock()
S
76 1 3
variation_bulk_action_variable_sale_price_decrease()
S
77 1 3
variation_bulk_action_variable_sale_price_increase()
S
77 1 3
variation_bulk_action_variable_regular_price_decrease()
S
77 1 3
variation_bulk_action_variable_regular_price_increase()
S
77 1 3
order_add_meta()
S
80 1 3
init()
S
72 1 5
variation_bulk_action_variable_download_expiry()
S
78 1 3
variation_bulk_action_toggle_virtual()
S
79 1 3
get_cart_totals()
S
71 1 6
checkout()
S
73 1 5
get_customer_location()
S
75 1 4
add_coupon_discount()
S
80 1 3
calc_line_taxes()
S
80 1 3
json_search_products_and_variations()
S
79 1 3
get_endpoint()
S
75 1 3
variation_bulk_action_toggle_downloadable()
S
79 1 3
variation_bulk_action_toggle_manage_stock()
S
79 1 3
variation_bulk_action_variable_download_limit()
S
78 1 3
variation_bulk_action_variable_regular_price()
S
78 1 3
variation_bulk_action_variable_sale_price()
S
78 1 3
variation_bulk_action_variable_stock_status_instock()
S
78 1 3
variation_bulk_action_variable_stock_status_outofstock()
S
78 1 3
variation_bulk_action_variable_stock_status_onbackorder()
S
78 1 3
variation_bulk_action_variable_weight()
S
78 1 3
variation_bulk_action_variable_length()
S
78 1 3
variation_bulk_action_variable_width()
S
78 1 3
variation_bulk_action_variable_height()
S
78 1 3
check_locked_orders()
S
76 1 3