Code Analysis: Food Online for WooCommerce 5.4.1.14

Function Rating Maintainability Complexity Lines of code
Food_Online_Orders::output_order_time()
D
5
131 328
Food_Online::enqueue_scripts()
D
20
59 164
Food_Online_Shortcode2::shortcode()
D
20
45 230
Food_Online::get_disabled_modes_from_availability()
D
30 43 93
Food_Online_Ajax::add_to_cart()
D
27
37 143
Food_Online_Product::get_image_src()
C
38 32 55
Food_Online_Product2::get_image_src()
C
38 32 55
Food_Online::wp()
C
33 29 98
Food_Online_Add_Tab()
C
18
1 478
Food_Online_Shortcode_Address::menu()
C
28
20 159
Food_Online_Product2::get_add_links()
C
33 23 104
Food_Online_Product::get_add_links()
C
33 23 104
Food_Online_Orders::get_processing_orders()
C
39 25 53
Food_Online_Orders::echo_time()
B
36 21 81
Food_Online_Shortcode::shortcode()
B
37 20 68
Food_Online_Shortcode_Address::timepicker()
B
34 18 89
Food_Online::enqueue_scripts_back_end()
B
39 18 63
Food_Online_Settings::premium_admin_notice()
B
34 7 185
Food_Online_Orders::get_dynamic_time()
A
44 16 40
Food_Online_Ajax::ajaxfdoe_load_products()
A
42 15 47
Food_Online_Settings::fdoeorder_admin_field_layout()
A
42 12 53
Food_Online_Ajax::ajaxfdoe_add()
A
46 12 35
Food_Online_Settings::get_settings()
A
38 9 80
Food_Online_Shortcode_Address::set_category_objects()
A
39 10 63
Food_Online_Shortcode::set_category_objects()
A
40 10 56
Food_Online_Shortcode2::set_category_objects()
A
40 10 56
Food_Online_Shortcode_Address::top_bar()
A
47 11 32
Food_Online::set_category_objects()
A
40 9 59
Food_Online::set_products_modal_hook()
A
41 9 55
Food_Online_Ajax::get_category_objects()
A
42 9 52
Food_Online::override_cart_template()
A
54 11 20
Food_Online_Ajax::ajaxfdoe_make_product_shortcode()
A
47 8 34
Food_Online::add_checkout_error_message()
A
54 9 18
Food_Online_Orders::add_order_time_info_to_emails()
A
56 9 17
Food_Online::is_schedule_intersection_ok()
A
62 10 10
Food_Online::override_templates()
A
52 8 27
Food_Online::get_max_purchace()
A
49 7 33
Food_Online::init()
A
42 5 62
Food_Online::setSavedCatOrder()
S
50 7 30
Food_Online::fdoe_main_query()
S
58 8 14
Food_Online_Orders::get_displayed_ordertime()
S
60 8 12
fdoe_output_top_bar()
S
51 7 24
Food_Online_Ajax::ajaxfdoe_get_updated_time()
S
51 7 23
Food_Online::disabled_shipping_after_checkout_validation()
S
55 7 18
Food_Online_Ajax::ajaxfdoe_qty_cart()
S
49 6 29
Food_Online_Product::the_product()
S
44 5 42
Food_Online::fdoe_shop_link()
S
55 6 19
Food_Online_Orders::init()
S
65 7 8
Food_Online_Ajax::ajaxfdoe_search_products()
S
54 5 21
Food_Online_Product2::the_product()
S
47 4 35
Food_Online::fdoe_set_cookie()
S
57 5 20
Food_Online::get_all_categories()
S
49 4 32
Food_Online::get_approved_cart_items()
S
57 5 17
Food_Online_Orders::get_cart_count_by_cats()
S
58 5 15
Food_Online::override_template_part()
S
60 5 13
Food_Online_Ajax::ajaxfdoe_get_comment_form()
S
44 3 42
Food_Online_Orders::convert_minutes_to_human()
S
60 5 11
Food_Online::fdoe_handheld_footer_bar()
S
49 3 39
Food_Online::is_whole_cart_approved()
S
56 4 19
Food_Online::fdoe_cart_link_storefront()
S
57 4 16
Food_Online_Shortcode_Address::address_validator()
S
57 4 16
Food_Online::check_environment()
S
63 5 10
Food_Online_Settings::enqueue_cat_sorting_style()
S
70 5 5
Food_Online::fdoe_cart_link_2()
S
59 4 14
Food_Online_Shortcode_Address::postcode_validator()
S
60 4 13
Food_Online_Orders::get_order_items_count_by_cats()
S
60 4 12
Food_Online::load_bootstrap_and_fontawesome()
S
61 4 11
Food_Online::get_product_subs()
S
55 3 24
Food_Online_Ajax::reg_my_ajax_methods()
S
54 3 22
Food_Online_Orders::get_store_location()
S
53 3 21
fdoe_output_rightbar()
S
58 3 20
Food_Online::woocommerce_init()
S
57 3 17
Food_Online_Shortcode_Address::minicart()
S
58 3 16
Food_Online::fdoe_checkout_link_storefront()
S
66 4 7
Food_Online::fdoe_checkout_link_22()
S
66 4 7
Food_Online::get_is_shortcode()
S
69 4 6
Food_Online::get_is_shortcode_delivery()
S
69 4 6
Food_Online::add_font_awesome_attributes()
S
69 4 6
Food_Online::uninstall()
S
64 4 9
Food_Online::load_templates()
S
60 3 13
Food_Online::get_environment_warning()
S
62 3 12
Food_Online_Shortcode_Address::__construct()
S
50 1 38
Food_Online_Settings::__construct()
S
49 1 38
Food_Online_Orders::__construct()
S
56 2 21
Food_Online::includes()
S
57 2 18
Food_Online_Settings::fdoeorder_admin_field_ava_schedule()
S
49 1 31
Food_Online::fdoe_output_stock_warning()
S
53 1 31
Food_Online::override_off()
S
60 2 16
Food_Online_Orders::maybe_set_calculated_shipping_time()
S
70 3 5
Food_Online_Product2::do_product_shortcode()
S
66 3 7
Food_Online::__construct()
S
53 1 30
Food_Online_Product::do_product_shortcode()
S
66 3 7
Food_Online::set_is_shortcode()
S
74 3 4
Food_Online::get_is_shortcode_foodonline()
S
70 3 6
Food_Online_Product::get_modal_settings()
S
59 2 14
Food_Online_Product2::get_modal_settings()
S
59 2 14
Food_Online_Shortcode_Address::top_cat_menu()
S
63 2 14
Food_Online_Ajax::ajaxfdoe_get_wc_price_2()
S
61 2 14
fdoe_get_menu_pre()
S
58 1 28
Food_Online::fdoe_output_cart_aromodal()
S
55 1 27
Food_Online::admin_notices()
S
61 2 12
Food_Online_Shortcode_Address::side_cat_menu()
S
64 2 11
Food_Online_Settings::fdoeorder_admin_field_fixedordertime()
S
52 1 25
Food_Online_Settings::fdoeorder_admin_field_pickup_locations()
S
53 1 22
Food_Online::check_for_404()
S
75 2 5
Food_Online_Shortcode_Address::save_shortcode_order()
S
71 2 6
Food_Online_Product2::isWpml()
S
74 2 4
Food_Online_Shortcode_Address::instance()
S
70 2 7
Food_Online::get_is_shortcode_minicart()
S
70 2 6
Food_Online_Shortcode2::instance()
S
72 2 6
Food_Online_Product::get_icon()
S
70 2 6
Food_Online::get_is_shortcode_topbar()
S
70 2 6
Food_Online::array_flatten()
S
66 2 9
Food_Online_Orders::get_preparation_time()
S
73 2 4
Food_Online_Product::isWpml()
S
74 2 4
Food_Online_Orders::add_to_thankyou_page()
S
70 2 6
Food_Online::set_new_shop_loop()
S
71 2 6
Food_Online_Shortcode::instance()
S
72 2 6
Food_Online::override_on()
S
60 1 15
Food_Online::getSavedCatOrder()
S
77 2 3
Food_Online_Product2::get_icon()
S
70 2 6
Food_Online::instance()
S
71 2 6
Food_Online::get_category_objects()
S
71 2 6
Food_Online_Settings::get_sections()
S
59 1 14
fdoe_output_minicart()
S
62 1 13
fdoe_output_rightbar_pre()
S
65 1 13
Food_Online::fdoe_add_checkout_link_storefront()
S
62 1 13
Food_Online::fdoe_add_shop_link_storefront()
S
62 1 13
Food_Online::fdoe_add_cart_link_storefront()
S
62 1 13
Food_Online::activate()
S
61 1 12
fdoe_get_top_menu_pre()
S
67 1 11
fdoe_output_leftbar_pre()
S
67 1 11
Food_Online_Loop::__construct()
S
81 1 3
fdoe_get_top_bar_pre()
S
70 1 8
Food_Online_Shortcode2::get_category_objects()
S
80 1 3
Food_Online_Ajax::__construct()
S
82 1 3
Food_Online_Loop::the_product()
S
75 1 4
Food_Online_Settings::output()
S
73 1 5
Food_Online::fdoe_storefront_sorting_remove()
S
68 1 7
Food_Online::quantity_plus_sign()
S
83 1 3
Food_Online_Settings::save()
S
73 1 5
Food_Online::output_product_aromodals_backbone()
S
82 1 3
Food_Online_Orders::init2()
S
67 1 10
Food_Online::output_top_bar_shop_page()
S
69 1 7
Food_Online::quantity_minus_sign()
S
83 1 3
Food_Online::load_text_domain()
S
77 1 3
Food_Online::get_plugin_url()
S
79 1 3
Food_Online::base_path_file()
S
75 1 4
Food_Online::base_path()
S
74 1 4
Food_Online_Shortcode::price_sorting()
S
73 1 5
Food_Online::fdoe_woocommerce_header_add_to_cart_fragment()
S
65 1 10
Food_Online_Shortcode_Address::get_category_objects()
S
80 1 3
Food_Online::add_action_links()
S
68 1 7
Food_Online_Shortcode::__construct()
S
79 1 3
Food_Online_Loop::get_loop_items()
S
75 1 5
Food_Online_Shortcode_Address::get_shortcode_order()
S
80 1 3
Food_Online::get_template_path()
S
76 1 4
Food_Online::fdoe_remove_handheld_footer_links()
S
71 1 6
Food_Online_Shortcode2::__construct()
S
79 1 3
Food_Online::add_admin_notice()
S
71 1 6
Food_Online_Product2::variation_has_option()
S
73 1 5
Food_Online_Product::variation_has_option()
S
73 1 5
Food_Online::fdoe_custom_widget_shopping_cart_proceed_to_checkout()
S
73 1 4
Food_Online_Shortcode::get_category_objects()
S
80 1 3