WLFMC_Wishlist_Item D

Total Complexity 159
Dependencies 8
Dependents 6
Total lines 1,065
Lines of code 448
Logical lines of code 233
Comment lines 443
Methods 60
Properties 5

Methods 60

Method Rating Maintainability Complexity Lines of code
get_price_variation()
A
46 9 38
calculate_product_price()
A
47 8 37
get_cart_item()
A
56 9 16
get_formatted_product_price()
A
56 9 15
__construct()
S
57 6 17
get_product_price()
S
57 5 17
set_wishlist_id()
S
63 5 10
set_low_stock()
S
69 4 6
set_price_change()
S
69 4 6
set_back_in_stock()
S
69 4 6
set_on_sale()
S
69 4 6
get_average_rating()
S
64 4 10
get_rating_count()
S
64 4 10
offsetSet()
S
65 3 9
get_original_currency()
S
68 3 7
offsetUnset()
S
66 3 9
get_posted_data()
S
66 3 8
get_product_meta()
S
66 3 8
map_legacy_offsets()
S
65 3 9
get_date_added_formatted()
S
67 3 8
get_parent_id()
S
71 3 5
get_date_added()
S
66 3 8
get_product()
S
66 3 9
get_formatted_original_price()
S
67 3 6
get_original_price()
S
62 2 12
get_customer()
S
69 2 7
is_purchasable()
S
69 2 7
offsetGet()
S
67 2 8
offsetExists()
S
67 2 8
set_posted_data()
S
78 2 3
set_product_meta()
S
78 2 3
set_product_id()
S
68 2 7
get_wishlist_slug()
S
69 2 7
get_formatted_product_name()
S
69 2 7
get_stock_status()
S
67 2 8
get_wishlist_name()
S
69 2 7
get_wishlist_token()
S
69 2 7
get_wishlist()
S
69 2 7
get_user()
S
68 2 7
set_cart_item_key()
S
80 1 3
get_origin_wishlist_id()
S
82 1 3
get_original_product_id()
S
79 1 3
get_position()
S
79 1 3
get_cart_item_key()
S
79 1 3
get_product_id()
S
78 1 3
get_wishlist_id()
S
79 1 3
set_original_currency()
S
80 1 3
get_customer_id()
S
79 1 3
set_original_price()
S
80 1 3
set_position()
S
79 1 3
set_date_added()
S
80 1 3
set_customer_id()
S
80 1 3
set_user_id()
S
80 1 3
set_quantity()
S
80 1 3
is_back_in_stock()
S
79 1 3
is_price_change()
S
79 1 3
get_quantity()
S
78 1 3
is_low_stock()
S
79 1 3
get_user_id()
S
79 1 3
is_on_sale()
S
79 1 3