NMGR_Wishlist_Item D

Total Complexity 130
Dependencies 6
Dependents 4
Total lines 951
Lines of code 511
Logical lines of code 224
Comment lines 273
Methods 62
Properties 4

Methods 62

Method Rating Maintainability Complexity Lines of code
create_order()
B
41 16 50
get_from_db()
A
41 7 56
get_purchase_log_props()
S
53 7 23
update()
S
52 5 23
read()
S
53 5 21
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
get_product_image()
S
56 4 18
get_purchased_amount()
S
50 3 28
create()
S
56 3 16
__construct()
S
65 4 9
get_order_item_ids()
S
58 3 14
read_meta_data()
S
60 3 12
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
get_cost()
S
73 2 4
get_total()
S
73 2 4
delete()
S
62 1 11
get_product_stock_quantity()
S
80 1 3
get_product_status()
S
80 1 3
set_product_id()
S
79 1 3
set_variation_id()
S
79 1 3
set_variation()
S
80 1 3
clear_cache()
S
80 1 3
set_unique_id()
S
80 1 3
set_quantity_reference()
S
80 1 3
is_in_stock()
S
80 1 3
add_order_item_meta()
S
76 1 4
is_purchased()
S
75 1 4
get_product_sku()
S
80 1 3
set_quantity()
S
79 1 3
is_fulfilled()
S
74 1 4
get_product_stock_status()
S
80 1 3
get_wishlist_type()
S
80 1 3
set_purchased_quantity()
S
79 1 3
get_date_created()
S
80 1 3
set_wishlist_id()
S
79 1 3
get_product()
S
80 1 3
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_quantity_reference()
S
79 1 3
get_wishlist()
S
80 1 3
is_purchasable()
S
81 1 3
get_variations_for_display()
S
75 1 4
get_purchase_log()
S
79 1 3
get_wishlist_id()
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_modified()
S
80 1 3
set_purchase_log()
S
80 1 3