Code Analysis: Bundler Lite 3.0.2

Function Rating Maintainability Complexity Lines of code
Bundler\Helpers\Cart::before_calculate_totals()
D
24
59 133
Bundler\Views\Widget::display_widget()
B
34 16 112
Bundler\Admin\Admin_App::maybe_clear_cache()
A
44 15 41
Appsero\Insights::get_tracking_data()
A
39 13 63
Appsero\Insights::deactivate_scripts()
A
35 6 145
Bundler\Helpers\CartHelper::get_strikeout_price_html()
A
45 12 41
Bundler\Controllers\Ajax::add_to_cart()
A
44 12 41
Bundler\Admin\Admin_App::admin_enqueue_assets()
A
40 9 57
Bundler\Controllers\OfferController::update_offer()
A
41 9 55
Bundler\Controllers\OfferController::new_offer()
A
41 9 54
Appsero\License::menu_output()
A
44 9 50
Bundler\Admin\Admin_Ajax::new_offer()
A
45 9 42
Bundler\Admin\Admin_Ajax::duplicate_offer()
A
45 9 42
Bundler\Admin\Admin_Ajax::update_offer()
A
45 9 41
Appsero\Updater::check_plugin_update()
A
52 10 24
Appsero\Insights::deactivation_modal_styles()
A
50 1 158
Appsero\Updater::check_theme_update()
A
52 10 23
Appsero\License::license_form_submit()
A
51 9 26
Appsero\Insights::get_all_plugins()
A
48 8 34
Bundler\Models\DB::create_tables()
A
50 8 31
Bundler\Models\Offer::get_all_offers()
A
44 7 45
Appsero\Updater::get_project_latest_version()
A
49 8 29
Appsero\License::licenses_style()
A
51 1 132
Bundler\Integrations\WCPBC::wcbpc_get_currency_data()
A
51 8 25
Appsero\Insights::handle_optin_optout()
A
56 8 18
Bundler\Helpers\CartHelper::get_bundler_products_in_cart()
S
58 8 14
Bundler\Integrations\WC_Multi_Currency::wmc_get_currency_data()
S
51 7 25
Appsero\Insights::admin_notice()
S
47 6 37
Appsero\Updater::get_cached_version_info()
S
56 7 20
Bundler\Models\Offer::get_highest_priority_offer_by_product_id()
S
50 6 32
Bundler\Controllers\SettingsController::update_vd_template_settings()
S
50 6 32
Appsero\Insights::get_server_info()
S
55 7 17
Bundler\Helpers\ProductHelper::is_product_in_stock()
S
57 7 16
Bundler\Helpers\Cart::cart_item_price_html()
S
58 7 15
Bundler\Helpers\ProductHelper::format_product()
S
49 6 30
Appsero\License::send_request()
S
51 6 28
Bundler\Bundler::enqueue_script()
S
46 5 36
Appsero\Insights::uninstall_reason_submission()
S
55 6 19
Bundler\Integrations\WC_Multi_Currency::wmc_get_price()
S
58 6 16
Bundler\Controllers\Ajax::get_public_endpoints()
S
59 6 13
Appsero\Insights::is_local_server()
S
59 6 12
Appsero\License::show_active_license_info()
S
52 5 27
Bundler\Integrations\WC_Multi_Currency::wmc_revert_product_price()
S
61 6 12
Bundler\Models\DB::db_update_3_0()
S
47 4 40
Appsero\License::check_license_status()
S
55 5 19
Appsero\License::is_valid_by()
S
64 6 9
Appsero\Insights::__construct()
S
65 6 8
bdlr_lite_notice()
S
52 4 28
Bundler\Models\Settings::get_default_settings()
S
40 1 73
Appsero\Insights::send_tracking_data()
S
61 5 12
Appsero\License::is_valid()
S
61 5 12
Bundler\Integrations\WCPBC::wcbpc_get_price()
S
61 5 12
Appsero\License::active_client_license()
S
53 4 23
Bundler\Admin\Admin_Ajax::delete_offers()
S
54 4 23
Bundler\Admin\Admin_Ajax::change_offer_status()
S
55 4 19
Appsero\License::deactive_client_license()
S
56 4 18
Bundler\Controllers\Integrations::init()
S
58 4 16
Appsero\Insights::get_wp_info()
S
57 4 15
Appsero\License::get_input_license_value()
S
59 4 14
Appsero\License::admin_menu()
S
62 4 13
Bundler\Controllers\OfferController::delete_offers()
S
62 4 12
Appsero\License::show_license_page_card_header()
S
57 3 23
Bundler\Models\Offer::new_offer()
S
49 2 34
Bundler\Helpers\ProductHelper::search_products()
S
57 3 18
Appsero\Insights::get_uninstall_reasons()
S
46 1 47
Appsero\License::show_license_page_notices()
S
61 3 17
Bundler\Controllers\OfferController::get_offer()
S
57 3 17
Bundler\Bundler::instance()
S
58 3 16
Bundler\Models\DB::create_volume_discount_settings_table()
S
50 1 45
Bundler\Controllers\Ajax::verify_nonce()
S
64 4 9
Appsero\License::refresh_client_license()
S
64 4 9
Appsero\Updater::plugins_api_filter()
S
65 4 9
Bundler\Controllers\OfferController::get_custom_variant_discount()
S
65 4 9
Bundler\Helpers\ProductHelper::get_product_for_preview()
S
59 3 14
Bundler\Admin\Admin_App::get_deps()
S
59 3 13
Appsero\Insights::get_user_counts()
S
62 3 12
Appsero\Insights::activate_plugin()
S
61 3 12
Appsero\License::run_schedule()
S
62 3 12
Bundler\Admin\Admin_Ajax::get_offer()
S
61 3 12
Appsero\Insights::get_site_name()
S
63 3 11
Appsero\Insights::get_user_ip_address()
S
63 3 11
Bundler\Models\DB::db_update_2_0()
S
51 2 26
Bundler\Controllers\OfferController::get_offer_products()
S
63 3 11
Bundler\Models\DB::db_update_4_0()
S
53 2 24
Bundler\Admin\Admin_App::bdlr_page()
S
61 1 36
Bundler\Models\Settings::update_vd_settings()
S
55 2 21
Bundler\Models\DB::create_volume_discount_table()
S
52 1 35
Bundler\Admin\Admin_Ajax::update_settings()
S
56 2 20
Bundler\Bundler::includes()
S
57 2 18
Bundler\Models\DB::db_update_2_1()
S
57 2 18
Bundler\Controllers\OfferController::get_the_offer()
S
57 2 18
Appsero\Client::set_basename_and_slug()
S
56 2 17
Appsero\Insights::get_extra_data()
S
67 3 9
Bundler\Helpers\CartHelper::sort_by_price()
S
66 3 8
Bundler\Helpers\CartHelper::sort_by_price_desc()
S
66 3 8
Appsero\Updater::__construct()
S
65 3 9
Bundler\Admin\Admin_Ajax::get_all_offers()
S
59 2 15
Bundler\Models\DB::initialize_volume_discount_settings()
S
50 1 30
Bundler\Integrations\WC_Multi_Currency::__construct()
S
65 3 8
Bundler\Models\Settings::get_vd_settings()
S
65 3 8
Bundler\Controllers\OfferController::get_bundle_by_offer_id()
S
68 3 7
Appsero\Client::insights()
S
64 3 10
Appsero\Client::updater()
S
64 3 10
Appsero\Client::license()
S
64 3 10
Bundler\Admin\Admin_Ajax::verify_nonce()
S
64 3 9
Bundler\Admin\Admin_Ajax::get_mc_price()
S
63 3 10
Appsero\Insights::init()
S
69 3 7
Bundler\Models\Discount::add_discount_to_offer()
S
50 1 29
bdlr_php56_notice()
S
62 2 14
Appsero\Insights::data_we_collect()
S
60 2 14
Bundler\Models\Offer::update_offer()
S
51 1 29
Bundler\Controllers\OfferController::delete_offer()
S
61 2 13
Appsero\Insights::send_tracking_skipped_request()
S
60 2 13
Bundler\Models\Discount::get_custom_variant_discount()
S
61 2 12
Bundler\Models\Offer::get_offer_by_id()
S
61 2 12
Bundler\Admin\Admin_App::add_plugin_action_links()
S
51 1 26
Appsero\Client::send_request()
S
54 1 21
Bundler\Admin\Admin_Ajax::get_available_private_endpoints()
S
57 1 17
Bundler\Models\DB::create_offer_table()
S
59 1 17
Appsero\Insights::init_plugin()
S
64 2 9
Bundler\Admin\Admin_Ajax::search_products()
S
63 2 10
Bundler\Models\Offer::update_offer_products()
S
65 2 8
Bundler\Controllers\OfferController::__construct()
S
71 2 6
Appsero\Updater::set_cached_version_info()
S
70 2 6
Appsero\Client::is_local_server()
S
73 2 4
Appsero\Insights::deactivation_cleanup()
S
67 2 8
Bundler\Bundler::load_textdomain()
S
70 2 6
Bundler\Integrations\WCPBC::__construct()
S
69 2 6
Appsero\Insights::init_common()
S
64 2 9
Appsero\Insights::notice_dismissed()
S
68 2 7
Appsero\Updater::get_version_info()
S
68 2 8
Bundler\Bundler::init_tracker()
S
67 2 7
Bundler\Models\DB::get_existing_tables()
S
70 2 5
Bundler\Bundler::objects()
S
72 2 5
bdlr_lite_just_activated()
S
68 2 8
Bundler\Controllers\OfferController::get_the_discounts()
S
67 2 8
Bundler\Controllers\SettingsController::update_vd_settings()
S
60 1 15
bdlr_install_woocommerce_admin_notice()
S
66 2 10
Bundler\Bundler::constants()
S
66 2 10
Appsero\Insights::schedule_event()
S
69 2 6
Bundler\Helpers\CartHelper::get_wmc_price()
S
71 2 6
bdlr_woocommerce_version_admin_notice()
S
66 2 10
Bundler\Controllers\Ajax::handle_public_ajax()
S
69 2 6
Bundler\Admin\Admin_Ajax::handle_private_ajax()
S
68 2 7
Appsero\Insights::plugin_action_links()
S
69 2 6
Appsero\License::schedule_cron_event()
S
70 2 6
Appsero\Insights::theme_deactivated()
S
73 2 5
Bundler\Controllers\OfferController::get_the_discounts_desc()
S
67 2 8
Bundler\Models\DB::create_offer_collections_table()
S
61 1 14
Bundler\Models\DB::create_offer_products_table()
S
61 1 14
Appsero\License::add_settings_page()
S
59 1 14
Appsero\License::create_submenu_page()
S
63 1 12
Appsero\License::create_menu_page()
S
63 1 12
Appsero\License::create_options_page()
S
64 1 11
Bundler\Controllers\SettingsController::get_vd_settings()
S
81 1 3
Appsero\License::set_option_key()
S
77 1 4
Bundler\Helpers\Cart::__construct()
S
71 1 5
Bundler\Models\Discount::get_discounts_by_offer_id_sort_by_qty_desc()
S
66 1 8
Appsero\Client::_etrans()
S
79 1 3
Bundler\Models\Offer::get_qty_discount_offers()
S
69 1 6
Appsero\Insights::notice()
S
77 1 4
Bundler\Admin\Admin_Ajax::get_settings()
S
65 1 9
Appsero\License::get_license()
S
79 1 3
Appsero\Updater::run_plugin_hooks()
S
74 1 4
Bundler\Controllers\Ajax::get_available_public_endpoints()
S
74 1 5
Bundler\Admin\Admin_Ajax::get_product_for_preview()
S
65 1 9
Appsero\Insights::get_last_send()
S
78 1 3
Bundler\Models\Offer::update_offer_status()
S
71 1 5
Appsero\Insights::add_plugin_data()
S
77 1 4
bdlr()
S
80 1 3
Appsero\License::__construct()
S
65 1 8
Appsero\Insights::init_theme()
S
72 1 5
Bundler\Admin\Admin_App::upgrade()
S
77 1 4
Bundler\Views\Widget::__construct()
S
79 1 3
Appsero\Insights::hide_notice()
S
77 1 4
Appsero\License::activate()
S
74 1 4
Bundler\Controllers\OfferController::get_qty_discount_offers()
S
81 1 3
Appsero\Insights::add_extra()
S
77 1 4
Appsero\Insights::clear_schedule_event()
S
80 1 3
Appsero\Insights::get_post_count()
S
66 1 9
Appsero\Updater::run_theme_hooks()
S
79 1 3
Bundler\Controllers\SettingsController::get_default_settings()
S
81 1 3
Bundler\Admin\Admin_Ajax::clear_cache()
S
82 1 3
Bundler\Controllers\OfferController::get_discounts_by_offer_id()
S
80 1 3
bdlr_pro_just_activated()
S
73 1 5
Bundler\Admin\Admin_App::__construct()
S
67 1 7
Appsero\Client::set_textdomain()
S
81 1 3
Bundler\Controllers\OfferController::get_all_offers()
S
81 1 3
bdlr_lite_deactivate()
S
77 1 4
Appsero\Client::endpoint()
S
75 1 4
Appsero\License::clear_scheduler()
S
81 1 3
Bundler\Models\Offer::get_offer_products()
S
67 1 7
Bundler\Admin\Admin_App::register_admin_menu()
S
63 1 9
Appsero\Client::__trans()
S
79 1 3
Bundler\Bundler::is_pro()
S
81 1 3
Bundler\Controllers\Ajax::__construct()
S
82 1 3
Bundler\Models\Discount::delete_discounts()
S
72 1 5
Bundler\Models\Offer::delete_offer()
S
72 1 5
bdlr_activation()
S
80 1 3
Bundler\Models\Discount::get_discounts_by_offer_id()
S
69 1 6
Appsero\License::deactivate()
S
74 1 4
Bundler\Bundler::load_assets()
S
75 1 4
Appsero\Insights::tracking_allowed()
S
74 1 4
Appsero\License::refresh_license_api()
S
67 1 9
Bundler\Bundler::load_db()
S
71 1 6
Appsero\Insights::add_weekly_schedule()
S
68 1 7
Appsero\Insights::optout()
S
68 1 7
Appsero\Insights::optin()
S
66 1 8
Bundler\Bundler::enqueue_style()
S
74 1 4
Bundler\Admin\Admin_Ajax::__construct()
S
73 1 5
Bundler\Controllers\OfferController::update_offer_status()
S
80 1 3
Appsero\Client::__construct()
S
71 1 6
Bundler\Models\Discount::get_discounts_by_product_id()
S
64 1 9
Appsero\License::check()
S
74 1 4