WLFMC D

Total Complexity 138
Dependencies 16
Dependents 1
Total lines 1,083
Lines of code 506
Logical lines of code 299
Comment lines 398
Methods 37
Properties 16

Methods 37

Method Rating Maintainability Complexity Lines of code
add()
D
27
29 139
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
can_user_add_to_wishlist()
S
60 7 11
count_products_by_user()
S
52 6 24
get_pll_wishlist_url()
S
57 5 16
get_current_user_wishlists()
S
57 4 17
add_wishlist()
S
63 5 10
__construct()
S
49 3 29
get_unsubscribe_url()
S
61 3 11
get_add_to_wishlist_url()
S
58 2 16
count_add_to_wishlist()
S
67 3 8
get_product_details()
S
63 2 12
get_last_operation_url()
S
68 2 7
generate_default_wishlist()
S
69 2 7
get_instance()
S
72 2 6
update_wishlists_data()
S
70 2 7
is_product_in_wishlist()
S
68 2 7
parent_count_add_to_wishlist()
S
72 2 6
get_wishlists()
S
80 1 3
get_products()
S
80 1 3
is_multi_wishlist_enabled()
S
82 1 3
get_available_views()
S
79 1 3
get_remove_url()
S
79 1 3
need_update_wishlist_data()
S
80 1 3
add_public_query_var()
S
74 1 5
get_wishlist_page_id()
S
72 1 5
get_wishlist_detail_by_token()
S
80 1 3
register_data_stores()
S
73 1 5
update_wishlist()
S
82 1 3
count_users_with_wishlists()
S
79 1 3
get_users_with_wishlist()
S
80 1 3
generate_wishlist_token()
S
81 1 3
remove_wishlist()
S
82 1 3
get_wishlist_detail()
S
80 1 3