WC_AJAX D

Total Complexity 514
Dependencies 25
Dependents 1
Total lines 3,094
Lines of code 2,003
Logical lines of code 1,199
Comment lines 617
Methods 92
Properties 0

Methods 92

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
35 19 84
remove_order_item()
B
37 19 68
grant_access_to_download()
A
40 15 57
json_search_products()
A
41 15 50
add_coupon_discount()
A
43 15 43
update_api_key()
A
36 12 83
tax_rates_save_changes()
A
40 13 62
shipping_classes_save_changes()
A
42 13 52
add_order_fee()
A
43 11 44
maybe_add_order_item()
A
41 10 55
json_search_customers()
A
45 10 40
save_attributes()
A
45 10 39
product_ordering()
A
46 10 35
term_ordering()
A
54 11 18
remove_order_coupon()
A
47 10 32
shipping_zones_save_changes()
A
46 9 43
json_search_categories()
A
46 9 38
add_to_cart()
A
48 9 31
toggle_gateway_enabled()
A
50 8 26
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
calc_line_taxes()
S
52 7 21
delete_refund()
S
56 7 16
add_ajax_events()
S
39 3 76
json_search_pages()
S
48 6 30
mark_order_status()
S
58 7 13
add_order_shipping()
S
50 6 26
save_variations()
S
52 6 22
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
link_all_variations()
S
54 5 20
remove_variations()
S
59 5 13
shipping_zone_methods_save_settings()
S
50 4 28
save_order_items()
S
51 4 27
shipping_zone_add_method()
S
52 4 25
add_attribute()
S
54 4 20
define_ajax()
S
62 5 10
variation_bulk_action_variable_low_stock_amount()
S
59 4 15
variation_bulk_action_variable_stock()
S
59 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
variation_bulk_action_delete_all()
S
65 4 8
remove_from_cart()
S
64 4 9
revoke_access_to_download()
S
58 3 14
variation_bulk_adjust_price()
S
58 3 14
do_wc_ajax()
S
60 3 13
wc_ajax_headers()
S
60 3 13
remove_coupon()
S
60 3 12
variation_bulk_action_toggle_enabled()
S
67 3 7
load_order_items()
S
62 3 10
rated()
S
68 2 7
variation_bulk_set()
S
68 2 7
variation_bulk_toggle()
S
66 2 8
apply_coupon()
S
63 2 10
get_refreshed_fragments()
S
60 1 15
update_order_review_expired()
S
62 1 12
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
variation_bulk_action_variable_download_expiry()
S
78 1 3
variation_bulk_action_variable_regular_price()
S
78 1 3
variation_bulk_action_variable_download_limit()
S
78 1 3
variation_bulk_action_toggle_virtual()
S
79 1 3
json_search_products_and_variations()
S
79 1 3
get_endpoint()
S
75 1 3
get_customer_location()
S
75 1 4
checkout()
S
73 1 5
get_cart_totals()
S
71 1 6
variation_bulk_action_toggle_downloadable()
S
79 1 3
variation_bulk_action_toggle_manage_stock()
S
79 1 3
variation_bulk_action_variable_height()
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
init()
S
72 1 5