WLFMC D

Total Complexity 243
Dependencies 16
Dependents 1
Total lines 1,694
Lines of code 901
Logical lines of code 565
Comment lines 519
Methods 50
Properties 16

Methods 50

Method Rating Maintainability Complexity Lines of code
add_to_waitlist()
B
33 20 93
add_to_lists()
B
35 19 83
get_wc_wishlist_url()
B
36 19 78
add_rewrite_rules()
A
43 16 44
get_wishlist_url()
A
43 15 46
add()
A
38 13 64
add_to_save_for_later()
A
38 11 65
action_remove_from_wishlist()
A
48 12 31
remove()
A
47 8 33
get_pll_wishlist_url()
A
56 9 16
remove_from_save_for_later()
S
49 6 28
can_user_add_to_wishlist()
S
60 7 11
can_user_add_to_waitlist()
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
__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_lists()
S
66 3 8
remove_wishlist()
S
63 3 10
get_product_details()
S
63 2 12
get_last_operation_url()
S
68 2 7
get_instance()
S
72 2 6
generate_default_wishlist()
S
69 2 7
is_product_in_wishlist()
S
68 2 7
is_product_in_waitlist()
S
68 2 7
update_wishlists_data()
S
70 2 7
parent_count_add_to_lists()
S
71 2 6
delete_products()
S
62 1 11
get_multi_list_page_id()
S
72 1 5
get_available_views()
S
79 1 3
get_remove_url()
S
79 1 3
need_update_wishlist_data()
S
80 1 3
get_products()
S
80 1 3
get_tabbed_page_id()
S
72 1 5
get_wishlist_page_id()
S
72 1 5
get_waitlist_page_id()
S
72 1 5
generate_wishlist_token()
S
81 1 3
add_public_query_var()
S
74 1 5
register_data_stores()
S
73 1 5
update_wishlist()
S
82 1 3
get_wishlists()
S
80 1 3
get_wishlist_detail_by_token()
S
80 1 3
count_users_with_wishlists()
S
79 1 3
get_users_with_wishlist()
S
80 1 3
get_wishlist_detail()
S
80 1 3