YITH_WCWL C

Total Complexity 105
Dependencies 7
Dependents 1
Total lines 836
Lines of code 372
Logical lines of code 217
Comment lines 323
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
add()
A
42 12 49
get_wishlist_url()
A
46 12 36
add_rewrite_rules()
A
50 10 25
remove()
A
49 8 28
get_pll_wishlist_url()
S
57 5 16
add_wishlist()
S
63 5 10
count_all_products()
S
56 3 18
can_user_add_to_wishlist()
S
64 4 9
get_current_user_wishlists()
S
59 3 14
count_products()
S
61 3 12
get_add_to_wishlist_url()
S
58 2 17
count_add_to_wishlist()
S
65 3 9
count_product_occurrences()
S
64 3 9
plugin_fw_loader()
S
66 3 9
__construct()
S
58 2 14
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
is_product_in_wishlist()
S
68 2 7
privacy_loader()
S
71 2 6
get_wishlist_detail_by_token()
S
80 1 3
get_wishlist_page_id()
S
73 1 5
is_multi_wishlist_enabled()
S
82 1 3
get_available_views()
S
75 1 4
get_remove_url()
S
79 1 3
get_products()
S
80 1 3
add_public_query_var()
S
74 1 5
get_wishlists()
S
80 1 3
update_wishlist()
S
83 1 3
register_data_stores()
S
73 1 5
remove_wishlist()
S
83 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
get_wishlist_detail()
S
80 1 3