Code Analysis: WPC Product Bundles for WooCommerce 8.0.5

Function Rating Maintainability Complexity Lines of code
WPCleverWoosb::show_bundled()
D
15
79 207
WPCleverWoosb::add_to_cart_validation()
D
23
64 132
WPCleverWoosb::admin_menu_content()
D
9
24 731
WPCleverWoosb::get_price_html()
D
24
55 142
WPCleverWoosb::product_data_panels()
D
22
24 239
WPCleverWoosb::before_calculate_totals()
C
36 29 75
WPCleverKit::ajax_get_essential_kit()
C
27
21 177
WPCleverWoosb::ajax_get_search_results()
C
35 24 72
WPCleverWoosb::get_bundled()
B
37 21 75
WPCleverWoosb::product_data_li()
B
32 20 86
WPCleverWoosb::__construct()
B
31 18 103
WC_Product_Woosb::build_items()
B
37 20 70
WPCleverWoosb::add_to_cart_items()
B
39 19 60
WC_Product_Woosb::get_stock_status()
B
45 19 36
WPCleverWoosb::process_product_meta_woosb()
B
41 17 62
WPCleverDashboard::ajax_get_plugins()
B
37 16 66
WPCleverWoosb::show_bundles()
A
44 16 38
WC_Product_Woosb::get_stock_quantity()
A
47 16 30
WPCleverWoosb::ajax_add_order_item_meta()
A
42 14 47
WC_Product_Woosb::get_backorders()
A
48 15 30
WC_Product_Woosb::get_manage_stock()
A
49 14 28
WPCleverWoosb::order_item_meta_start()
A
46 13 35
WPCleverWoosb::cart_item_meta()
A
45 11 40
WPCleverWoosb::show_bundled_price()
A
42 10 55
WPCleverWoosb::cart_item_subtotal()
A
53 12 20
WC_Product_Woosb::get_sale_price()
A
48 11 31
WC_Product_Woosb::get_sold_individually()
A
55 11 17
WPCleverWoosb::coupon_is_valid_for_product()
A
57 10 15
WPCleverWoosb::get_bundles()
A
40 6 71
WPCleverWoosb::search_settings()
A
36 4 97
WPCleverWoosb::get_item_count()
A
53 9 22
WPCleverWoosb::before_order_itemmeta()
A
51 9 22
WPCleverWoosb::cart_shipping_packages()
A
56 9 17
WPCleverWoosb_Helper::minify_items()
A
53 8 23
WPCleverKit::admin_menu_content()
A
55 8 18
WPCleverWoosb::add_to_cart_form()
A
55 8 18
WPCleverWoosb::cart_loaded_from_session()
A
56 8 18
WPCleverWoosb::cart_contents_count()
S
58 7 14
WPCleverWoosb::cart_contents_weight()
S
58 7 13
WPCleverWoosb_Helper::get_product_id_from_sku()
S
61 7 11
WPCleverWoosb_Helper::get_price()
S
53 6 24
WPCleverWoosb::search_sku()
S
53 6 21
WPCleverWoosb::product_tabs()
S
54 6 19
WPCleverWoosb::cart_item_removed()
S
57 6 17
WPCleverWoosb::cart_item_name()
S
56 6 15
WC_Product_Woosb::get_discount_percentage()
S
64 7 8
WPCleverWoosb::cart_item_price()
S
59 6 14
WPCleverWoosb::add_cart_item_data()
S
61 6 12
WPCleverWoosb_Compatible::__construct()
S
56 5 17
WC_Product_Woosb::has_variables()
S
60 5 13
WC_Product_Woosb::add_to_cart_text()
S
59 5 13
WPCleverWoosb::display_post_states()
S
59 5 13
WPCleverWoosb::no_stock_notification()
S
52 4 21
WPCleverWoosb::low_stock_notification()
S
52 4 21
WPCleverWoosb::ajax_update_search_settings()
S
56 4 16
WPCleverWoosb::woovr_default_selector()
S
66 5 8
WC_Product_Woosb::get_ids_str()
S
58 4 15
WC_Product_Woosb::add_to_cart_url()
S
62 5 10
WC_Product_Woosb::get_price()
S
65 5 9
WC_Product_Woosb::has_optional()
S
61 4 12
WPCleverWoosb::order_item_visible()
S
62 4 11
WPCleverWoosb::create_order_line_item()
S
63 4 11
WPCleverWoosb::mini_cart_item_visible()
S
62 4 11
WPCleverWoosb::cart_item_visible()
S
62 4 11
WC_Product_Woosb::exclude_unpurchasable()
S
65 4 8
WPCleverWoosb::cart_item_remove_link()
S
64 4 9
WPCleverWoosb_Helper::localization()
S
64 4 9
WPCleverWoosb::add_to_cart_button()
S
68 4 6
WPCleverWoosb::loop_add_to_cart_link()
S
69 4 6
WC_Product_Woosb::is_on_sale()
S
70 4 6
WPCleverWoosb::row_meta()
S
58 3 14
woosb_init()
S
60 3 12
WPCleverWoosb_Helper::generate_key()
S
60 3 12
WPCleverWoosb::action_links()
S
60 3 12
WPCleverWoosb::get_cart_item_from_session()
S
63 3 11
WPCleverWoosb::order_again_cart_item_data()
S
63 3 11
WPCleverWoosb::enqueue_scripts()
S
47 1 33
WPCleverWoosb::search_exact()
S
72 3 5
WC_Product_Woosb::get_discount_amount()
S
65 3 8
WPCleverWoosb_Compatible::wcpdf_hide_bundles()
S
64 3 9
WPCleverWoosb::check_in_cart()
S
67 3 8
WPCleverWoosb_Compatible::pklist_package_hide_bundled()
S
66 3 8
WPCleverKit::plugin_index_by_slug()
S
67 3 8
WPCleverWoosb::product_price_class()
S
68 3 7
WPCleverWoosb_Compatible::pklist_package_hide_bundles()
S
66 3 8
WPCleverWoosb::found_in_cart()
S
70 3 6
WPCleverWoosb::add_to_cart()
S
67 3 7
WPCleverWoosb_Compatible::wcpdf_hide_bundled()
S
64 3 9
WPCleverWoosb::cart_item_class()
S
67 3 8
WPCleverWoosb_Helper::get_setting()
S
65 3 8
WPCleverWoosb_Compatible::pklist_hide_meta()
S
70 3 6
WPCleverWoosb_Compatible::pklist_order_hide_bundles()
S
67 3 8
WPCleverWoosb::search_sentence()
S
72 3 5
WPCleverWoosb_Compatible::pklist_order_hide_bundled()
S
67 3 8
WPCleverWoosb_Helper::sanitize_array()
S
63 3 10
WPCleverWoosb_Helper::clean()
S
68 3 7
WPCleverWoosb_Helper::get_price_to_display()
S
59 2 14
WPCleverDashboard::admin_menu_content()
S
64 1 22
WPCleverWoosb::admin_enqueue_scripts()
S
57 1 17
WPCleverWoosb::wpcsm_locations()
S
56 1 17
WPCleverWoosb::bulk_actions()
S
67 2 7
WPCleverWoosb::instance()
S
72 2 6
WPCleverWoosb_Helper::round_price()
S
69 2 6
WPCleverWoosb::bulk_actions_handler()
S
68 2 7
WPCleverWoosb_Compatible::instance()
S
72 2 6
WPCleverKit::activate_plugin_link()
S
67 2 7
WPCleverKit::is_plugin_active()
S
69 2 7
WPCleverWoosb::text_data_li()
S
62 2 8
WPCleverWoosb::restore_cart_item()
S
63 2 10
WC_Product_Woosb::is_fixed_price()
S
70 2 5
WPCleverWoosb::available_variation()
S
70 2 6
WC_Product_Woosb::get_discount()
S
74 2 4
WPCleverKit::deactivate_plugin_link()
S
67 2 7
WPCleverWoosb::cart_item_quantity()
S
71 2 6
WPCleverKit::admin_scripts()
S
63 2 10
WPCleverWoosb_Helper::instance()
S
72 2 6
WPCleverKit::is_plugin_installed()
S
68 2 7
WPCleverWoosb::formatted_line_subtotal()
S
70 2 6
WPCleverWoosb::bulk_actions_notice()
S
68 2 6
WPCleverDashboard::admin_menu()
S
63 1 12
WC_Product_Woosb::get_items()
S
79 1 3
WPCleverWoosb::shortcode_form()
S
75 1 5
WC_Product_Woosb::is_optional()
S
80 1 3
WPCleverDashboard::__construct()
S
72 1 5
WPCleverWoosb_Helper::get_settings()
S
79 1 3
WPCleverMenu::__construct()
S
100 1 2
WPCleverWoosb::shortcode_bundles()
S
75 1 5
WPCleverWoosb::init()
S
69 1 6
WPCleverWoosb_Helper()
S
82 1 3
WC_Product_Woosb::is_manage_stock()
S
74 1 4
WPCleverWoosb::before_mini_cart_contents()
S
83 1 3
WPCleverWoosb::hidden_order_itemmeta()
S
66 1 10
WPCleverWoosb_Helper::__construct()
S
75 1 4
WC_Product_Woosb::__construct()
S
73 1 5
WPCleverDashboard::enqueue_scripts()
S
66 1 8
WPCleverWoosb::wpml_item_id()
S
79 1 3
WC_Product_Woosb::single_add_to_cart_text()
S
71 1 5
WPCleverKit::install_plugin_link()
S
78 1 3
WPCleverWoosb::register_settings()
S
77 1 4
WPCleverWoosb::product_data_tabs()
S
67 1 8
WPCleverWoosb::product_type_selector()
S
75 1 4
WPCleverWoosb::product_tab_bundles()
S
82 1 3
WPCleverWoosb::product_summary_bundled()
S
82 1 3
WPCleverWoosb::bulk_actions_register()
S
75 1 4
woosb_notice_wc()
S
100 1 7
WPCleverWoosb::admin_menu()
S
70 1 6
WPCleverWoosb_Helper::clean_ids()
S
79 1 3
WPCleverWoosb()
S
82 1 3
WPCleverKit::__construct()
S
72 1 5
WPCleverKit::admin_menu()
S
70 1 6
WC_Product_Woosb::get_type()
S
82 1 3
WC_Product_Woosb::get_ids()
S
74 1 4
WPCleverWoosb::shortcode_bundled()
S
75 1 5
WPCleverWoosb::product_summary_bundles()
S
82 1 3
WPCleverWoosb::product_tab_bundled()
S
82 1 3