NMGR_Wishlist_Item D

Total Complexity 131
Dependencies 6
Dependents 4
Total lines 967
Lines of code 534
Logical lines of code 236
Comment lines 273
Methods 64
Properties 4

Methods 64

Method Rating Maintainability Complexity Lines of code
create_order()
B
41 16 50
get_from_db()
A
41 8 58
get_purchase_log_props()
S
53 7 23
read()
S
51 6 26
update_purchased_quantity()
S
56 5 18
get_order_created_toast_notice()
S
59 5 14
get_paid_order_item_ids()
S
54 4 20
get_product_image()
S
56 4 18
get_purchased_amount()
S
50 3 28
get_order_item_ids()
S
58 3 15
__construct()
S
65 4 9
read_meta_data()
S
60 3 12
update()
S
55 2 19
create()
S
57 2 16
set_product()
S
65 3 9
get_product_permalink()
S
63 3 10
add_purchase_log()
S
58 2 15
get_product_image_id()
S
75 2 4
clear_cache()
S
74 2 5
get_cost()
S
73 2 4
get_total()
S
73 2 4
delete()
S
61 1 12
set_variation()
S
80 1 3
set_variation_id()
S
79 1 3
set_product_id()
S
79 1 3
set_unique_id()
S
80 1 3
set_quantity_reference()
S
80 1 3
add_order_item_meta()
S
76 1 4
get_wishlist_id()
S
80 1 3
is_purchased()
S
75 1 4
is_fulfilled()
S
74 1 4
set_quantity()
S
79 1 3
get_wishlist_type()
S
80 1 3
get_product_stock_quantity()
S
80 1 3
get_product_stock_status()
S
80 1 3
get_product_sku()
S
80 1 3
get_product_status()
S
80 1 3
cache_keys()
S
65 1 9
set_purchased_quantity()
S
79 1 3
is_purchasable()
S
81 1 3
set_wishlist_id()
S
79 1 3
get_quantity_reference()
S
79 1 3
get_date_modified()
S
75 1 4
get_product_or_variation_id()
S
80 1 3
get_product_id()
S
80 1 3
get_variation_id()
S
80 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_product()
S
80 1 3
is_in_stock()
S
80 1 3
get_wishlist()
S
80 1 3
get_variations_for_display()
S
75 1 4
get_purchase_log()
S
79 1 3
set_purchase_log()
S
80 1 3
get_product_name()
S
80 1 3
get_total_purchased_amount()
S
78 1 3
get_unpurchased_amount()
S
79 1 3
get_total_unpurchased_amount()
S
79 1 3
get_cart_order_data()
S
65 1 9
get_date_created()
S
80 1 3
clear_wishlist_cache()
S
73 1 5