NMGR_Wishlist_Item C

Total Complexity 121
Dependencies 6
Dependents 2
Total lines 848
Lines of code 453
Logical lines of code 214
Comment lines 256
Methods 60
Properties 3

Methods 60

Method Rating Maintainability Complexity Lines of code
create_order()
B
39 17 57
get_from_db()
A
43 10 44
get_purchase_log_props()
S
53 7 23
read()
S
51 6 25
update_purchased_quantity()
S
56 5 18
get_order_created_toast_notice()
S
59 5 14
get_paid_order_item_ids()
S
54 4 19
__construct()
S
65 4 9
get_purchased_amount()
S
65 3 9
cache_get()
S
73 3 4
add_purchase_log()
S
58 2 15
set_product()
S
65 3 9
get_product_permalink()
S
67 2 8
get_total()
S
69 2 6
cache_set()
S
66 2 8
get_cost()
S
73 2 4
update()
S
59 1 14
create()
S
62 1 11
delete()
S
62 1 11
set_purchased_quantity()
S
79 1 3
set_quantity()
S
79 1 3
set_product_id()
S
79 1 3
is_purchased()
S
75 1 4
set_variation_id()
S
79 1 3
set_variation()
S
80 1 3
set_unique_id()
S
80 1 3
set_quantity_reference()
S
80 1 3
add_order_item_meta()
S
76 1 4
is_fulfilled()
S
74 1 4
get_wishlist_type()
S
80 1 3
clear_cache()
S
80 1 3
set_wishlist_id()
S
79 1 3
get_total_purchased_amount()
S
78 1 3
get_cart_order_data()
S
65 1 9
get_variation_id()
S
80 1 3
get_product_sku()
S
81 1 3
get_product_stock_status()
S
81 1 3
get_product_stock_quantity()
S
81 1 3
get_product_image_id()
S
76 1 4
get_product_image()
S
64 1 10
is_in_stock()
S
81 1 3
is_purchasable()
S
81 1 3
get_wishlist_id()
S
80 1 3
get_date_created()
S
80 1 3
get_product_or_variation_id()
S
80 1 3
get_product_id()
S
80 1 3
get_variation()
S
79 1 3
get_total_unpurchased_amount()
S
71 1 6
get_quantity()
S
80 1 3
get_purchased_quantity()
S
78 1 3
get_unpurchased_quantity()
S
78 1 3
get_unique_id()
S
80 1 3
get_quantity_reference()
S
79 1 3
get_product()
S
80 1 3
get_wishlist()
S
80 1 3
get_purchase_log()
S
79 1 3
set_purchase_log()
S
80 1 3
get_product_name()
S
81 1 3
get_unpurchased_amount()
S
78 1 3
clear_wishlist_cache()
S
73 1 5