Plugin D

Total Complexity 152
Dependencies 3
Dependents 0
Total lines 1,186
Lines of code 636
Logical lines of code 354
Comment lines 313
Methods 35
Properties 5

Methods 35

Method Rating Maintainability Complexity Lines of code
maybe_add_cross_sells_to_cart()
A
45 13 38
save_cross_sell_products_form()
A
47 13 32
append_cross_sells_to_added_to_cart_notice()
A
44 12 42
handle_wp_ajax_json_custom_search_products()
A
44 10 41
include_drawers()
A
43 8 47
process_add_to_cart_message_for_drawer()
A
49 8 30
save_product_cross_sells_options()
S
53 7 23
display_product_cross_sell_options()
S
46 6 37
store_cart_item_added_with_product_id_via_ajax()
S
57 6 17
save_order_item_added_with_product_ids()
S
62 7 10
update_cart_items_added_with_product_ids()
S
57 6 15
wp_enqueue_scripts()
S
54 5 21
custom_add_to_cart_message_template()
S
54 5 20
add_plugin_settings_fields()
S
44 2 50
display_product_cross_sells_section()
S
59 4 15
add_cart_item_added_with_product_id()
S
59 4 14
mark_add_to_cart_message_html_for_drawer()
S
59 4 14
include_add_to_cart_message_fragment()
S
60 3 13
wp_kses_allowed_html_wcssb_dropdown_variation_attribute_options()
S
59 2 16
enqueue_drawer()
S
65 3 9
enqueue_add_to_cart_message_fragment()
S
63 3 10
admin_enqueue_scripts()
S
63 3 9
delete_subscription_variation_relations()
S
68 3 7
run_cross_sell_relations_delete_tool()
S
65 3 8
hooks()
S
50 1 27
create_db_table()
S
58 1 18
activate()
S
71 2 6
register_cross_sell_relations_delete_tool()
S
60 1 13
init()
S
73 1 5
register_wc_rest_api_section_endpoint()
S
72 1 5
register_woocommerce_settings_wcssb_section()
S
75 1 4
register_woocommerce_custom_data_store()
S
76 1 4
hide_order_itemmeta_added_with_product_id()
S
77 1 4
delete_product_relations()
S
79 1 3
__construct()
S
64 1 9