WLFMC_Ajax_Handler D

Total Complexity 154
Dependencies 5
Dependents 2
Total lines 1,044
Lines of code 829
Logical lines of code 346
Comment lines 161
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
ajax_update_table_database_callback()
D
12
45 398
add_to_cart()
C
33 22 94
update_item_quantity()
A
49 14 26
add_to_wishlist()
A
45 13 38
load_automations()
A
57 10 14
refresh_fragments()
A
42 7 59
delete_item()
S
53 7 22
change_gdpr_status()
S
55 7 17
remove_from_wishlist()
S
52 6 23
load_fragments()
S
53 6 22
change_layout()
S
57 6 15
wp_loaded_action()
S
52 4 26
get_current_items()
S
57 4 17
init()
S
48 1 36
ajax_create_page_callback()
S
56 1 18
add_load_automation_nonce()
S
75 1 4