AEPC_Woocommerce_Addon_Support D

Total Complexity 178
Dependencies 18
Dependents 0
Total lines 1,327
Lines of code 691
Logical lines of code 324
Comment lines 462
Methods 54
Properties 7

Methods 54

Method Rating Maintainability Complexity Lines of code
get_product_item()
D
27
33 128
query_items_args()
A
41 12 57
customize_wp_query()
A
48 12 31
get_purchase_params()
A
44 10 41
register_add_to_wishlist_params()
S
53 7 23
get_initiate_checkout_params()
S
51 5 27
do_query()
S
53 5 21
get_add_to_cart_params()
S
55 5 19
get_view_content_params()
S
55 4 19
filter_items_query()
S
59 4 15
add_currency_param()
S
60 4 15
add_content_category_meta()
S
63 4 11
get_view_category_params()
S
53 3 24
setup()
S
52 3 23
get_product_categories()
S
59 3 16
get_product_tags()
S
59 3 16
format_price()
S
62 4 10
get_product_name()
S
70 3 6
maybe_sku()
S
68 3 7
get_product_id()
S
67 3 8
unset_last_product_added_to_cart()
S
72 3 5
can_fire_add_to_cart()
S
74 3 4
can_fire_complete_registration()
S
73 3 4
ensure_not_orphaned_variations()
S
55 1 21
can_fire_purchase()
S
79 2 3
send_add_to_cart()
S
68 2 9
get_complete_registration_params()
S
72 2 5
can_fire_initiate_checkout()
S
79 2 3
set_last_product_added_to_cart_upon_redirect()
S
79 2 3
register_add_payment_info_params()
S
68 2 7
save_registration_data()
S
65 2 9
get_checkout_url()
S
78 2 3
create_user_data_from_order()
S
61 1 14
get_short_description_from_product()
S
81 1 3
get_feed_entries_to_save()
S
79 1 3
can_fire_view_content()
S
81 1 3
there_are_items_to_save()
S
69 1 6
remove_all_feed_status()
S
80 1 3
set_product_not_saved_in_feed()
S
78 1 3
set_product_edited_in_feed()
S
78 1 3
set_product_saved_in_feed()
S
78 1 3
get_feed_status_meta_key()
S
78 1 3
get_feed_entries_to_edit()
S
79 1 3
get_feed_entries()
S
79 1 3
get_description_from_product()
S
81 1 3
can_fire_view_category()
S
81 1 3
extend_user_data()
S
68 1 8
is_active()
S
80 1 3
get_category_content()
S
72 1 6
query_items()
S
75 1 4
is_product_of_this_addon()
S
79 1 3
get_product_types()
S
81 1 3
send_server_side_purchase_event()
S
70 1 8
add_content_category_meta_in_block_grid()
S
70 1 7