YITH_WCWL_Wishlists A

Total Complexity 59
Dependencies 7
Dependents 3
Total lines 649
Lines of code 250
Logical lines of code 127
Comment lines 302
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
add_item()
A
43 9 48
remove_item()
S
48 5 32
count_all_items()
S
54 5 21
get_current_user_wishlists()
S
57 4 17
get_wishlist_for_product()
S
57 3 17
count_product_occurrences()
S
58 3 16
can_user_add_to_wishlist()
S
64 4 9
count_add_to_wishlist()
S
67 4 8
get_product_item()
S
62 3 12
count_items_in_wishlist()
S
61 3 12
get_wishlists_for_product()
S
56 2 19
is_product_in_wishlist()
S
68 2 7
generate_default_wishlist()
S
69 2 7
create()
S
71 2 5
__construct()
S
91 1 2
get_items()
S
80 1 3
count_users_with_wishlists()
S
79 1 3
get_wishlists()
S
80 1 3
move()
S
91 1 2
remove()
S
91 1 2
update()
S
91 1 2
is_multi_wishlist_enabled()
S
82 1 3