WLFMC_Wishlist_Item D

Total Complexity 138
Dependencies 7
Dependents 6
Total lines 915
Lines of code 401
Logical lines of code 212
Comment lines 360
Methods 51
Properties 5

Methods 51

Method Rating Maintainability Complexity Lines of code
calculate_product_price()
A
44 11 44
get_price_variation()
A
49 8 31
get_cart_item()
A
56 9 16
get_formatted_product_price()
S
60 7 11
__construct()
S
57 6 17
get_product_price()
S
57 5 17
set_on_sale()
S
69 4 6
get_average_rating()
S
64 4 10
get_rating_count()
S
64 4 10
get_parent_id()
S
71 3 5
get_original_currency()
S
68 3 7
offsetUnset()
S
66 3 9
offsetSet()
S
65 3 9
set_wishlist_id()
S
68 3 7
get_product()
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_formatted_original_price()
S
67 3 6
get_date_added()
S
66 3 8
get_original_price()
S
62 2 12
get_wishlist_slug()
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_name()
S
69 2 7
get_formatted_product_name()
S
69 2 7
get_wishlist_token()
S
69 2 7
get_stock_status()
S
67 2 8
get_user()
S
68 2 7
get_wishlist()
S
69 2 7
get_quantity()
S
78 1 3
get_wishlist_id()
S
79 1 3
get_position()
S
79 1 3
get_product_id()
S
78 1 3
get_original_product_id()
S
79 1 3
get_cart_item_key()
S
79 1 3
set_original_currency()
S
80 1 3
set_cart_item_key()
S
80 1 3
get_user_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_user_id()
S
80 1 3
set_quantity()
S
80 1 3
get_origin_wishlist_id()
S
82 1 3
is_on_sale()
S
79 1 3