Code Analysis: Food Online for WooCommerce 4.2.5.3

Function Rating Maintainability Complexity Lines of code
Food_Online_Orders::output_order_time()
D
15
86 244
Food_Online_Shortcode2::shortcode()
D
20
44 217
Food_Online::enqueue_scripts()
D
24
47 137
Food_Online_Ajax::add_to_cart()
D
27
37 143
Food_Online::wp()
C
34 26 90
Food_Online_Product2::get_add_links()
C
34 22 93
Food_Online_Product::get_add_links()
C
34 22 93
Food_Online_Shortcode_Address::menu()
B
32 20 108
Food_Online_Shortcode::shortcode()
B
37 19 67
Food_Online_Orders::echo_time()
B
39 17 67
Food_Online_Add_Tab()
B
23
1 307
Food_Online::set_products_modal_hook()
A
39 14 60
Food_Online::override_cart_template()
A
48 15 31
Food_Online_Settings::premium_admin_notice()
A
37 6 145
Food_Online_Settings::fdoeorder_admin_field_layout()
A
42 12 53
Food_Online_Ajax::ajaxfdoe_add()
A
46 12 34
Food_Online::fdoe_main_query()
A
49 12 26
Food_Online_Product::get_image_src()
A
50 12 25
Food_Online_Product2::get_image_src()
A
50 12 25
Food_Online::set_category_objects()
A
42 9 49
Food_Online_Shortcode_Address::set_category_objects()
A
42 9 48
Food_Online_Shortcode2::set_category_objects()
A
42 9 48
Food_Online_Shortcode::set_category_objects()
A
42 9 48
Food_Online_Ajax::ajaxfdoe_make_product_shortcode()
A
47 8 33
Food_Online_Settings::get_settings()
A
46 7 43
Food_Online::override_templates()
A
52 8 27
Food_Online_Shortcode_Address::top_bar()
A
50 8 26
Food_Online::get_max_purchace()
A
49 7 33
Food_Online::setSavedCatOrder()
S
50 7 30
Food_Online::init()
S
42 5 59
fdoe_output_top_bar()
S
50 7 28
Food_Online_Orders::add_order_time_info_to_emails()
S
59 7 14
Food_Online_Ajax::ajaxfdoe_qty_cart()
S
50 6 28
Food_Online_Product::the_product()
S
44 5 41
Food_Online_Orders::init()
S
55 6 20
Food_Online::fdoe_shop_link()
S
55 6 19
Food_Online_Product2::the_product()
S
47 4 34
Food_Online::enqueue_scripts_back_end()
S
55 5 18
Food_Online::getSavedCatOrder()
S
64 6 8
Food_Online_Orders::set_shipping_time()
S
51 4 28
Food_Online::override_template_part()
S
60 5 13
Food_Online_Ajax::ajaxfdoe_get_comment_form()
S
44 3 41
Food_Online::fdoe_handheld_footer_bar()
S
50 3 33
Food_Online::fdoe_cart_link_storefront()
S
57 4 16
Food_Online::get_is_shortcode()
S
69 5 6
Food_Online::check_environment()
S
63 5 10
Food_Online_Settings::enqueue_cat_sorting_style()
S
70 5 5
Food_Online::output_top_bar_shop_page()
S
66 5 7
Food_Online::fdoe_cart_link_2()
S
59 4 14
Food_Online::includes()
S
51 3 27
Food_Online_Shortcode_Address::address_validator()
S
60 4 12
fdoe_output_rightbar()
S
58 3 21
Food_Online_Orders::get_store_location()
S
54 3 20
Food_Online::get_product_subs()
S
58 3 16
Food_Online::get_is_shortcode_delivery()
S
69 4 6
Food_Online_Shortcode_Address::postcode_validator()
S
63 4 9
Food_Online::add_font_awesome_attributes()
S
69 4 6
Food_Online::fdoe_checkout_link_storefront()
S
66 4 7
Food_Online::uninstall()
S
64 4 9
Food_Online::fdoe_checkout_link_22()
S
66 4 7
Food_Online::set_is_shortcode()
S
73 4 4
Food_Online_Ajax::reg_my_ajax_methods()
S
59 3 14
Food_Online::get_environment_warning()
S
61 3 12
Food_Online::load_templates()
S
62 3 11
Food_Online::fdoe_output_stock_warning()
S
52 1 33
Food_Online::override_off()
S
60 2 16
Food_Online_Product::do_product_shortcode()
S
66 3 7
Food_Online::get_is_shortcode_foodonline()
S
70 3 6
Food_Online_Product2::do_product_shortcode()
S
66 3 7
Food_Online_Ajax::ajaxfdoe_get_wc_price_2()
S
61 2 14
Food_Online::add_action_links()
S
60 2 14
Food_Online::fdoe_output_cart_aromodal()
S
54 1 29
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::__construct()
S
53 1 26
fdoe_output_minicart()
S
58 1 20
Food_Online::get_all_categories()
S
56 1 19
Food_Online::__construct()
S
59 1 18
Food_Online_Orders::init2()
S
60 1 18
fdoe_output_rightbar_pre()
S
64 1 16
fdoe_output_leftbar_pre()
S
64 1 16
Food_Online_Shortcode2::instance()
S
72 2 6
Food_Online_Shortcode_Address::save_shortcode_order()
S
73 2 5
Food_Online_Product::isWpml()
S
74 2 4
Food_Online_Product::get_icon()
S
70 2 6
Food_Online_Shortcode_Address::minicart()
S
68 2 8
Food_Online_Shortcode_Address::instance()
S
72 2 6
Food_Online::set_new_shop_loop()
S
71 2 6
Food_Online_Product2::isWpml()
S
74 2 4
Food_Online_Orders::get_processing_orders()
S
66 2 8
Food_Online::get_category_objects()
S
71 2 6
Food_Online_Shortcode::instance()
S
72 2 6
Food_Online_Product::get_modal_settings()
S
68 2 6
Food_Online::array_flatten()
S
67 2 8
Food_Online_Shortcode_Address::side_cat_menu()
S
65 2 10
Food_Online::check_for_404()
S
75 2 5
Food_Online_Product2::get_modal_settings()
S
68 2 6
Food_Online::override_on()
S
60 1 15
Food_Online::instance()
S
71 2 6
Food_Online_Product2::get_icon()
S
70 2 6
Food_Online::fdoe_add_shop_link_storefront()
S
62 1 13
Food_Online::activate()
S
61 1 12
Food_Online_Settings::get_sections()
S
61 1 12
fdoe_get_top_bar_pre()
S
67 1 11
Food_Online_Settings::output()
S
73 1 5
Food_Online::woocommerce_init()
S
64 1 10
Food_Online_Shortcode2::__construct()
S
79 1 3
Food_Online_Shortcode::get_category_objects()
S
80 1 3
Food_Online_Shortcode_Address::get_category_objects()
S
80 1 3
Food_Online_Product::variation_has_option()
S
73 1 5
Food_Online::fdoe_remove_handheld_footer_links()
S
71 1 6
Food_Online::fdoe_custom_widget_shopping_cart_proceed_to_checkout()
S
73 1 4
Food_Online::fdoe_add_cart_link_storefront()
S
65 1 10
Food_Online::fdoe_add_checkout_link_storefront()
S
65 1 10
Food_Online_Product2::variation_has_option()
S
73 1 5
Food_Online::fdoe_storefront_sorting_remove()
S
68 1 7
Food_Online::output_product_aromodals_backbone()
S
82 1 3
Food_Online_Settings::save()
S
73 1 5
Food_Online_Shortcode::price_sorting()
S
73 1 5
fdoe_get_menu_pre()
S
68 1 10
Food_Online_Loop::the_product()
S
75 1 4
Food_Online_Shortcode_Address::__construct()
S
64 1 9
Food_Online_Shortcode2::get_category_objects()
S
80 1 3
Food_Online_Shortcode_Address::get_shortcode_order()
S
80 1 3
Food_Online_Ajax::__construct()
S
82 1 3
Food_Online_Orders::add_to_thankyou_page()
S
80 1 3
Food_Online::get_plugin_url()
S
79 1 3
Food_Online_Loop::get_loop_items()
S
75 1 5
Food_Online::fdoe_woocommerce_header_add_to_cart_fragment()
S
65 1 10
Food_Online_Loop::__construct()
S
81 1 3
Food_Online_Orders::__construct()
S
66 1 10
Food_Online::base_path_file()
S
75 1 4
fdoe_get_top_menu_pre()
S
69 1 9
Food_Online_Shortcode::__construct()
S
79 1 3
Food_Online::add_admin_notice()
S
71 1 6
Food_Online::load_text_domain()
S
77 1 3
Food_Online::base_path()
S
74 1 4
Food_Online::get_template_path()
S
76 1 4