WLFMC D

Total Complexity 218
Dependencies 16
Dependents 1
Total lines 1,566
Lines of code 846
Logical lines of code 493
Comment lines 480
Methods 44
Properties 16

Methods 44

Method Rating Maintainability Complexity Lines of code
add_to_lists()
D
25
36 158
add()
D
27
29 143
add_to_save_for_later()
A
38 11 65
action_remove_from_wishlist()
A
48 12 31
get_wishlist_url()
A
48 11 31
add_rewrite_rules()
A
51 10 24
remove()
A
47 8 33
get_wc_wishlist_url()
S
49 7 30
remove_from_save_for_later()
S
49 6 28
can_user_add_to_wishlist()
S
60 7 11
can_user_add_to_save_for_later()
S
60 7 11
can_user_add_to_list()
S
60 7 11
count_products_by_user()
S
52 6 24
get_current_user_wishlists()
S
54 5 21
get_pll_wishlist_url()
S
57 5 16
__construct()
S
48 3 31
add_wishlist()
S
63 5 10
count_products()
S
61 3 12
get_unsubscribe_url()
S
61 3 11
get_add_to_wishlist_url()
S
58 2 16
count_add_to_wishlist()
S
67 3 8
remove_wishlist()
S
63 3 10
get_product_details()
S
63 2 12
is_product_in_wishlist()
S
68 2 7
get_last_operation_url()
S
68 2 7
update_wishlists_data()
S
70 2 7
parent_count_add_to_wishlist()
S
72 2 6
get_instance()
S
72 2 6
generate_default_wishlist()
S
69 2 7
delete_products()
S
62 1 11
get_wishlist_detail()
S
80 1 3
get_available_views()
S
79 1 3
get_remove_url()
S
79 1 3
update_wishlist()
S
82 1 3
get_wishlists()
S
80 1 3
get_users_with_wishlist()
S
80 1 3
get_wishlist_detail_by_token()
S
80 1 3
count_users_with_wishlists()
S
79 1 3
add_public_query_var()
S
74 1 5
need_update_wishlist_data()
S
80 1 3
register_data_stores()
S
73 1 5
get_products()
S
80 1 3
generate_wishlist_token()
S
81 1 3
get_wishlist_page_id()
S
72 1 5