WLFMC_Wishlist D

Total Complexity 152
Dependencies 6
Dependents 5
Total lines 1,048
Lines of code 449
Logical lines of code 240
Comment lines 447
Methods 64
Properties 5

Methods 64

Method Rating Maintainability Complexity Lines of code
is_current_user_owner()
A
59 9 14
__construct()
S
49 7 29
current_user_can()
S
56 7 17
get_product()
S
56 6 19
has_privacy()
S
58 6 16
remove_product()
S
56 5 18
add_product()
S
57 4 16
add_item()
S
61 4 12
save_items()
S
62 4 12
get_items()
S
61 4 11
remove_item()
S
60 3 13
save()
S
62 3 12
has_cart_item_key()
S
67 3 8
set_customer_id()
S
68 3 7
has_low_stock_item()
S
68 3 8
has_on_sale_item()
S
68 3 8
has_back_in_stock_item()
S
68 3 8
offsetSet()
S
65 3 9
has_price_change_item()
S
68 3 8
get_expiration()
S
68 3 7
offsetUnset()
S
66 3 9
get_expiration_formatted()
S
67 3 8
map_legacy_offsets()
S
63 3 10
get_date_added_formatted()
S
67 3 8
get_formatted_description()
S
68 3 7
get_type()
S
77 3 3
get_date_added()
S
68 3 7
get_formatted_name()
S
67 3 7
get_total()
S
67 2 8
offsetGet()
S
67 2 8
offsetExists()
S
67 2 8
get_customer()
S
69 2 7
get_item()
S
68 2 7
set_prop()
S
70 2 6
get_formatted_privacy()
S
72 1 5
get_session_id()
S
79 1 3
get_user_id()
S
79 1 3
get_customer_id()
S
79 1 3
get_download_pdf_url()
S
77 1 3
get_privacy()
S
79 1 3
get_name()
S
78 1 3
get_token()
S
82 1 3
has_owner()
S
80 1 3
is_default()
S
81 1 3
is_session_based()
S
80 1 3
has_item()
S
77 1 3
has_product()
S
74 1 4
get_description()
S
78 1 3
set_slug()
S
78 1 3
set_privacy()
S
80 1 3
get_slug()
S
79 1 3
count_items()
S
80 1 3
set_session_id()
S
80 1 3
set_name()
S
80 1 3
set_description()
S
80 1 3
set_is_default()
S
80 1 3
set_token()
S
80 1 3
set_date_added()
S
80 1 3
set_expiration()
S
80 1 3
get_share_url()
S
78 1 3
has_items()
S
76 1 4
get_url()
S
78 1 3
get_is_default()
S
79 1 3
set_user_id()
S
80 1 3