YITH_WCWL C

Total Complexity 107
Dependencies 6
Dependents 1
Total lines 853
Lines of code 379
Logical lines of code 223
Comment lines 330
Methods 36
Properties 3

Methods 36

Method Rating Maintainability Complexity Lines of code
add()
A
41 12 50
get_wishlist_url()
A
47 12 33
add_rewrite_rules()
A
50 9 25
remove()
A
49 8 29
count_all_products()
S
54 5 21
get_pll_wishlist_url()
S
57 5 16
get_current_user_wishlists()
S
57 4 17
add_wishlist()
S
63 5 10
count_product_occurrences()
S
58 3 16
can_user_add_to_wishlist()
S
64 4 9
count_products()
S
61 3 12
get_add_to_wishlist_url()
S
58 2 16
count_add_to_wishlist()
S
65 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
72 1 5
is_multi_wishlist_enabled()
S
82 1 3
get_available_views()
S
75 1 4
get_remove_url()
S
78 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
98 1 1
register_data_stores()
S
73 1 5
remove_wishlist()
S
98 1 1
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