Code Analysis: Bundler Lite 2.2.1.1

Function Rating Maintainability Complexity Lines of code
Bundler\Helpers\Cart::before_calculate_totals()
D
26
48 123
Bundler\Controllers\OfferController::update_offer()
B
35 19 82
Bundler\Controllers\OfferController::new_offer()
B
36 18 80
Bundler\Views\Widget::display_widget()
A
36 11 99
Appsero\Insights::get_tracking_data()
A
39 13 63
Appsero\Insights::deactivate_scripts()
A
35 6 145
Bundler\Helpers\Cart::get_strikeout_price_html()
A
45 12 41
Bundler\Views\Admin\Admin_App::display_settings()
A
44 11 54
Appsero\License::menu_output()
A
44 9 50
Bundler\Helpers\Ajax::add_to_cart()
A
46 10 33
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
Bundler\Views\Admin\OffersTable::display_rows()
A
42 8 51
Appsero\License::license_form_submit()
A
51 9 26
Bundler\Models\DB::create_tables()
A
47 8 40
Appsero\Insights::get_all_plugins()
A
48 8 34
Appsero\Updater::get_project_latest_version()
A
49 8 29
Appsero\License::licenses_style()
A
51 1 132
Bundler\Views\Admin\OffersTable::process_bulk_action()
A
52 8 26
Bundler\Integrations\WCPBC::wcbpc_get_currency_data()
A
51 8 25
Appsero\Insights::handle_optin_optout()
A
56 8 18
Appsero\Insights::admin_notice()
S
47 6 37
Appsero\Updater::get_cached_version_info()
S
56 7 20
Bundler\Views\Admin\OffersTable::display_tablenav()
S
48 6 33
Appsero\Insights::get_server_info()
S
55 7 17
Bundler\Controllers\SettingsController::update_vd_template_settings()
S
50 6 32
Bundler\Helpers\Ajax::is_product_in_stock()
S
57 7 16
Bundler\Models\DB::db_update_3_0()
S
45 5 46
Appsero\License::send_request()
S
51 6 28
Appsero\Insights::uninstall_reason_submission()
S
55 6 19
Bundler\Views\Admin\Admin_App::register_menu_page()
S
53 6 19
Bundler\Integrations\WC_Multi_Currency::wmc_get_price()
S
58 6 16
Bundler\Helpers\Ajax::get_public_endpoints()
S
59 6 13
Appsero\License::show_active_license_info()
S
52 5 27
Appsero\Insights::is_local_server()
S
59 6 12
Bundler\Helpers\Cart::get_bundler_products_in_cart()
S
61 6 11
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
Bundler\Helpers\Cart::cart_item_price_html()
S
61 5 13
Appsero\License::is_valid()
S
61 5 12
Bundler\Integrations\WCPBC::wcbpc_get_price()
S
61 5 12
Appsero\Insights::send_tracking_data()
S
61 5 12
wbdl_lite_notice()
S
54 4 25
Bundler\Helpers\Ajax::search_products()
S
52 4 24
Appsero\License::active_client_license()
S
53 4 23
Bundler\Integrations\WC_Multi_Currency::wmc_get_currency_data()
S
56 4 19
Appsero\License::deactive_client_license()
S
56 4 18
Bundler\Bundler::enqueue_script()
S
56 4 17
Bundler\Controllers\Integrations::init()
S
58 4 16
Appsero\Insights::get_wp_info()
S
57 4 15
Bundler\Views\Admin\Admin_App::display_offers()
S
53 3 29
Appsero\License::get_input_license_value()
S
59 4 14
Appsero\License::admin_menu()
S
62 4 13
Bundler\Helpers\Ajax::new_offer()
S
60 4 12
Bundler\Helpers\Ajax::update_offer()
S
60 4 12
Appsero\License::show_license_page_card_header()
S
57 3 23
Bundler\Views\Admin\OffersTable::prepare_items()
S
53 3 22
Appsero\Insights::get_uninstall_reasons()
S
46 1 47
Appsero\License::show_license_page_notices()
S
61 3 17
Bundler\Helpers\Ajax::verify_nonce()
S
63 4 9
Appsero\License::refresh_client_license()
S
64 4 9
Bundler\Bundler::instance()
S
59 3 15
Appsero\Updater::plugins_api_filter()
S
65 4 9
Bundler\Integrations\WC_Multi_Currency::wmc_revert_product_price()
S
64 4 10
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
Appsero\Insights::get_user_ip_address()
S
63 3 11
Appsero\Insights::get_site_name()
S
63 3 11
Bundler\Models\DB::db_update_2_0()
S
51 2 26
Bundler\Models\Offer::new_offer()
S
53 2 23
wbdl_php56_notice()
S
59 2 18
Bundler\Models\DB::create_volume_discount_table()
S
53 1 33
Bundler\Models\DB::db_update_2_1()
S
57 2 18
Appsero\Client::set_basename_and_slug()
S
56 2 17
Bundler\Models\Offer::get_the_offer()
S
59 2 15
Appsero\Client::insights()
S
64 3 10
Bundler\Bundler::includes()
S
60 2 15
Bundler\Views\Admin\Admin_App::bdlr_page()
S
66 3 8
Appsero\Updater::__construct()
S
65 3 9
Bundler\Integrations\WC_Multi_Currency::__construct()
S
65 3 8
Appsero\Client::license()
S
64 3 10
Appsero\Client::updater()
S
64 3 10
Bundler\Models\DB::create_volume_discount_settings_table()
S
54 1 30
Bundler\Models\DB::initialize_volume_discount_settings()
S
50 1 30
Appsero\Insights::init()
S
69 3 7
Appsero\Insights::get_extra_data()
S
67 3 9
Bundler\Models\Discount::add_discount_to_offer()
S
50 1 29
Appsero\Insights::data_we_collect()
S
60 2 14
Appsero\Insights::send_tracking_skipped_request()
S
60 2 13
Bundler\Models\Discount::get_custom_variant_discount()
S
61 2 12
Appsero\Client::send_request()
S
54 1 21
Bundler\Bundler::assets()
S
55 1 19
Bundler\Models\Settings::update_vd_template_settings()
S
56 1 18
Bundler\Models\Offer::update_offer()
S
57 1 17
Bundler\Models\DB::create_offer_table()
S
59 1 17
Bundler\Bundler::load_textdomain()
S
70 2 6
Appsero\Insights::init_common()
S
64 2 9
wbdl_lite_just_activated()
S
68 2 8
Bundler\Controllers\OfferController::get_the_discounts_desc()
S
67 2 8
is_pro()
S
78 2 4
Appsero\Updater::set_cached_version_info()
S
70 2 6
wbdl_woocommerce_version_admin_notice()
S
66 2 10
Bundler\Integrations\WCPBC::__construct()
S
69 2 6
Bundler\Helpers\Ajax::handle_private_ajax()
S
67 2 7
is_pro()
S
78 2 4
Appsero\Insights::schedule_event()
S
69 2 6
Appsero\Client::is_local_server()
S
73 2 4
Bundler\Bundler::constants()
S
66 2 10
wbdl_install_woocommerce_admin_notice()
S
66 2 10
Appsero\License::schedule_cron_event()
S
70 2 6
Appsero\Insights::init_plugin()
S
64 2 9
is_pro()
S
78 2 4
Appsero\Insights::plugin_action_links()
S
69 2 6
Appsero\Insights::deactivation_cleanup()
S
67 2 8
Bundler\Helpers\Cart::get_wmc_price()
S
71 2 6
Appsero\Insights::theme_deactivated()
S
73 2 5
Bundler\Controllers\OfferController::get_the_discounts()
S
67 2 8
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\Helpers\Ajax::handle_public_ajax()
S
69 2 6
Appsero\Insights::notice_dismissed()
S
68 2 7
Bundler\Views\Admin\Admin_App::set_vd_settings()
S
60 1 14
Appsero\License::add_settings_page()
S
59 1 14
Bundler\Bundler::enqueue_admin_script()
S
60 1 13
Bundler\Views\Admin\OffersTable::get_columns()
S
62 1 12
Appsero\License::create_menu_page()
S
63 1 12
Appsero\License::create_submenu_page()
S
63 1 12
Appsero\License::create_options_page()
S
64 1 11
Bundler\Helpers\Ajax::get_available_private_endpoints()
S
64 1 10
Bundler\Helpers\Cart::__construct()
S
71 1 5
Bundler\Views\Admin\Admin_App::get_settings_controller()
S
82 1 3
Bundler\Models\Discount::get_discounts_by_product_id()
S
64 1 9
Appsero\Client::set_textdomain()
S
81 1 3
Bundler\Helpers\Ajax::change_offer_status()
S
68 1 7
Bundler\Models\Discount::remove_discounts()
S
72 1 5
Bundler\Bundler::enqueue_admin_style()
S
67 1 7
Bundler\Models\Settings::get_vd_settings()
S
72 1 5
Bundler\Views\Admin\Admin_App::add_offer()
S
81 1 3
Bundler\Views\Admin\OffersTable::display()
S
71 1 9
Appsero\License::__construct()
S
65 1 8
Appsero\Insights::get_post_count()
S
66 1 9
Appsero\License::clear_scheduler()
S
81 1 3
wbdl()
S
80 1 3
Bundler\Bundler::load_db()
S
71 1 6
Appsero\Client::__trans()
S
79 1 3
Bundler\Models\Discount::get_discounts_by_offer_id()
S
69 1 6
Appsero\Insights::add_extra()
S
77 1 4
Appsero\Client::__construct()
S
71 1 6
Bundler\Views\Admin\OffersTable::get_sortable_columns()
S
71 1 6
Bundler\Views\Admin\OffersTable::get_bulk_actions()
S
82 1 3
Bundler\Controllers\OfferController::get_all_offers()
S
81 1 3
Appsero\License::refresh_license_api()
S
67 1 9
Bundler\Controllers\OfferController::get_discounts_by_offer_id()
S
80 1 3
Appsero\License::deactivate()
S
74 1 4
Appsero\Insights::tracking_allowed()
S
74 1 4
Appsero\License::check()
S
74 1 4
Appsero\Insights::notice()
S
77 1 4
Bundler\Models\Discount::get_discounts_by_offer_id_sort_by_qty_desc()
S
66 1 8
Bundler\Helpers\Ajax::init()
S
77 1 4
Bundler\Views\Admin\Admin_App::upgrade()
S
77 1 4
Bundler\Bundler::is_pro()
S
81 1 3
Bundler\Views\Widget::init()
S
79 1 3
Appsero\License::set_option_key()
S
77 1 4
Bundler\Models\Offer::get_all_offers()
S
70 1 6
Appsero\Insights::optout()
S
68 1 7
Bundler\Models\Offer::update_offer_status()
S
71 1 5
Bundler\Controllers\OfferController::__construct()
S
91 1 2
Bundler\Controllers\OfferController::update_offer_status()
S
79 1 3
Appsero\Insights::get_last_send()
S
78 1 3
Bundler\Models\Offer::get_offer_by_id()
S
69 1 6
wbdl_pro_just_activated()
S
73 1 5
Bundler\Models\Offer::remove_offer()
S
72 1 5
Appsero\Insights::clear_schedule_event()
S
80 1 3
Appsero\Client::endpoint()
S
75 1 4
Bundler\Views\Admin\OffersTable::column_default()
S
82 1 3
Appsero\License::get_license()
S
79 1 3
Appsero\Client::_etrans()
S
79 1 3
Bundler\Views\Admin\Admin_App::__construct()
S
75 1 4
Bundler\Bundler::enqueue_style()
S
74 1 4
Bundler\Helpers\Ajax::delete_offer()
S
70 1 6
wbdl_lite_deactivate()
S
77 1 4
Appsero\Insights::add_plugin_data()
S
77 1 4
Bundler\Helpers\Ajax::get_available_public_endpoints()
S
71 1 6
Appsero\Insights::add_weekly_schedule()
S
68 1 7
Bundler\Controllers\OfferController::get_the_offer()
S
80 1 3
Appsero\Insights::optin()
S
66 1 8
Bundler\Views\Admin\Admin_App::get_vd_settings()
S
82 1 3
Appsero\Updater::run_theme_hooks()
S
79 1 3
Appsero\License::activate()
S
74 1 4
Bundler\Controllers\SettingsController::get_vd_settings()
S
81 1 3
Bundler\Views\Admin\OffersTable::__construct()
S
65 1 9
Appsero\Insights::init_theme()
S
72 1 5
Appsero\Insights::hide_notice()
S
77 1 4
Bundler\Controllers\OfferController::get_offer_by_id()
S
80 1 3
wbdl_activation()
S
80 1 3
Appsero\Updater::run_plugin_hooks()
S
74 1 4
Bundler\Bundler::objects()
S
67 1 8
Bundler\Controllers\OfferController::remove_offer()
S
77 1 4