NMGR_Wishlist_Item D

Total Complexity 129
Dependencies 7
Dependents 2
Total lines 900
Lines of code 486
Logical lines of code 239
Comment lines 271
Methods 61
Properties 3

Methods 61

Method Rating Maintainability Complexity Lines of code
create_order()
B
38 17 63
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
maybe_set_wishlist_as_fulfilled()
S
59 4 15
update()
S
56 3 17
__construct()
S
65 4 9
get_product_permalink()
S
63 3 11
cache_get()
S
73 3 4
get_purchased_amount()
S
64 3 9
add_purchase_log()
S
58 2 15
set_product()
S
65 3 9
cache_set()
S
66 2 8
get_product()
S
75 2 4
get_total()
S
69 2 6
get_cost()
S
73 2 4
create()
S
62 1 11
delete()
S
62 1 11
set_purchased_quantity()
S
79 1 3
set_product_id()
S
79 1 3
set_quantity()
S
79 1 3
set_variation_id()
S
79 1 3
is_purchased()
S
75 1 4
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_product_id()
S
80 1 3
get_product_sku()
S
75 1 4
get_product_stock_status()
S
75 1 4
get_product_stock_quantity()
S
75 1 4
get_product_image_id()
S
76 1 4
get_product_image()
S
64 1 10
is_in_stock()
S
75 1 4
is_purchasable()
S
75 1 4
get_wishlist_id()
S
80 1 3
get_date_created()
S
80 1 3
get_product_or_variation_id()
S
80 1 3
get_variation_id()
S
80 1 3
get_total_unpurchased_amount()
S
81 1 3
get_variation()
S
79 1 3
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_wishlist()
S
80 1 3
get_purchase_log()
S
79 1 3
set_purchase_log()
S
80 1 3
get_product_name()
S
75 1 4
get_unpurchased_amount()
S
73 1 5
clear_wishlist_cache()
S
73 1 5