WLFMC_Wishlist D

Total Complexity 148
Dependencies 4
Dependents 5
Total lines 1,012
Lines of code 438
Logical lines of code 236
Comment lines 426
Methods 61
Properties 5

Methods 61

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