Code Analysis: Food Online for WooCommerce 5.2.0.3

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