Code Analysis: Burst Statistics - Privacy-Friendly Analytics for WordPress 1.1.5

Function Rating Maintainability Complexity Lines of code
parse_user_agent()
D
24
49 148
burst_notices::get_notices()
D
32 31 107
burst_get_user_agent_data()
C
41 32 46
burst_field::get_fields()
C
34 28 88
burst_field::condition_applies()
C
35 28 86
burst_get_value()
C
39 25 61
burst_statistics::get_compare_statistics()
B
34 18 89
burst_statistics::get_platform_and_device_statistics()
B
35 18 86
rsp_upgrade_to_pro::api_request()
B
41 20 48
burst_statistics::get_single_statistic()
B
36 15 82
rsp_upgrade_to_pro::get_suggested_plugin()
B
38 15 70
burst_config::fields()
A
47 16 35
rsp_upgrade_to_pro::validate()
A
39 14 65
burst_field::multicheckbox()
A
40 14 65
burst_statistics::ajax_get_chart_statistics()
A
38 12 68
burst_admin::enqueue_assets()
A
35 9 79
burst_field::sanitize()
A
51 12 27
burst_track_hit()
A
36 8 86
rsp_upgrade_to_pro::print_install_modal()
A
40 9 67
burst_statistics::get_hits_single()
A
38 9 65
burst_field::save_field()
A
48 11 32
burst_conclusion()
A
42 9 60
burst_field::before_label()
A
45 10 41
burst_statistics::get_grouped_statistics_array()
A
41 9 56
burst_admin::deactivate_popup()
A
36 3 142
burst_field::radio()
A
45 9 47
burst_is_pagebuilder_preview()
A
56 11 17
burst_admin::init_grid()
A
36 6 91
rsp_upgrade_to_pro::__construct()
A
38 7 76
burst_icon()
A
33 4 121
burst_field::checkbox()
A
47 9 37
burst_statistics::get_dashboard_widget_statistics()
A
44 8 47
burst_field::select_variant()
A
44 8 47
burst_format_number()
A
49 9 31
burst_notices::validate_function()
A
50 9 30
burst_field::get_value()
A
50 9 27
burst_admin::ajax_get_datatable()
A
46 8 38
burst_statistics::get_graph_color()
A
54 9 21
burst_integration_plugin_is_active()
A
55 9 19
burst_field::button()
A
49 8 32
burst_statistics::generate_cached_data()
A
45 7 43
rsp_upgrade_to_pro::process_ajax_destination_clear()
A
51 8 27
burst_review::__construct()
A
52 8 25
rsp_upgrade_to_pro::process_ajax_package_information()
A
53 8 23
rsp_upgrade_to_pro::process_ajax_install_plugin()
A
48 7 34
burst_field::number()
S
50 7 29
burst_statistics::get_time_stamp_for_date_range()
S
51 7 26
burst_get_template()
S
52 7 25
burst_admin::delete_all_burst_data()
S
46 6 40
burst_field::date()
S
47 6 37
burst_field::select_control()
S
48 6 36
rsp_upgrade_to_pro::process_ajax_activate_license()
S
54 7 20
burst_field::select2()
S
48 6 34
burst_grid_element()
S
45 5 47
burst_field::select()
S
50 6 29
burst_statistics::enqueue_burst_tracking_script()
S
49 6 29
burst_review::show_leave_review_notice()
S
43 3 69
rsp_upgrade_to_pro::process_ajax_activate_plugin()
S
54 6 21
burst_tour::enqueue_assets()
S
38 2 81
burst_admin::get_status_link()
S
54 6 19
burst_field::process_save()
S
56 6 18
burst_admin::datatable_html()
S
45 4 44
burst_admin::listen_for_deactivation()
S
58 6 14
burst_field::url()
S
51 5 28
burst_field::email()
S
52 5 27
burst_field::phone()
S
52 5 27
BURST::includes()
S
52 5 26
burst_field::text()
S
52 5 26
burst_notices::render_warning()
S
52 5 24
burst_update_track_hit()
S
53 5 23
burst_field::textarea()
S
53 5 23
burst_notices::dismiss_notice()
S
55 5 21
rsp_upgrade_to_pro::enqueue_assets()
S
53 5 20
burst_field::step_has_fields()
S
56 5 18
burst_admin::empty_dashboard_cache()
S
56 5 18
burst_field::copy()
S
50 4 33
burst_tour::restart_tour()
S
58 5 16
burst_statistics::exclude_from_tracking()
S
61 5 13
burst_panel()
S
53 4 26
burst_field::editor()
S
52 4 23
burst_field::weightslider()
S
49 3 38
BURST::__construct()
S
56 4 20
burst_sidebar_notice()
S
54 4 20
burst_load_grid_block()
S
55 4 20
burst_field::function_callback_applies()
S
59 4 16
burst_integrations()
S
60 4 13
burst_admin::check_upgrade()
S
61 4 12
burst_get_first_time_visit()
S
61 4 11
burst_is_ip_blocked()
S
62 4 11
burst_admin_notice()
S
58 3 21
burst_field::label()
S
56 3 19
burst_admin::burst_pages()
S
55 3 18
burst_admin::add_admin_column()
S
57 3 17
burst_admin::__construct()
S
49 2 31
burst_install_statistics_table()
S
52 2 31
burst_review::dismiss_review_notice_callback()
S
63 4 10
burst_admin::posts_orderby_total_pageviews()
S
65 4 9
burst_sanitize_uid()
S
65 4 9
burst_get_current_post_type()
S
66 4 9
burst_get_current_post_id()
S
67 4 7
BURST::setup_constants()
S
62 3 14
burst_frontend::add_to_admin_bar_menu()
S
61 3 13
burst_activation_check()
S
61 3 13
burst_sprintf()
S
60 3 13
burst_field::after_field()
S
61 3 12
burst_admin::add_burst_admin_columns()
S
60 3 12
rsp_upgrade_to_pro::get_plugin_info()
S
62 3 11
burst_schedule_cron()
S
63 3 11
burst_notice()
S
63 3 11
burst_admin::register_admin_page()
S
54 2 22
burst_install_sessions_table()
S
57 2 18
burst_install_goals_table()
S
58 2 17
burst_user_can_manage()
S
67 3 9
burst_admin::sanitize_burst_page()
S
65 3 9
burst_user_can_view()
S
67 3 9
burst_tour::listen_for_cancel_tour()
S
65 3 9
burst_statistics::format_uplift()
S
67 3 7
burst_add_view_capability()
S
64 3 10
burst_get_ip_address()
S
64 3 10
burst_add_manage_capability()
S
64 3 10
burst_field::is_conditional()
S
66 3 9
BURST::get_instance()
S
67 3 8
burst_field::filter_burst_fields()
S
65 3 9
burst_statistics::calculate_ratio()
S
64 3 9
burst_review::insert_dismiss_review()
S
57 1 30
burst_config::get_section_by_id()
S
63 3 10
burst_ip_anonymizer::anonymize()
S
64 3 10
burst_statistics::calculate_uplift_status()
S
64 3 10
burst_statistics::sanitize_metrics()
S
65 3 9
burst_admin::burst_statistics()
S
59 2 14
burst_config::__construct()
S
59 2 14
burst_admin::plugin_settings_link()
S
59 2 14
burst_admin::add_privacy_info()
S
61 2 13
burst_field::__construct()
S
60 2 13
burst_get_referrer_url()
S
62 2 11
burst_grid_container()
S
62 2 11
burst_printf()
S
62 2 11
burst_field::load()
S
55 1 22
burst_admin::get_burst_admin_pages()
S
59 1 16
burst_notices::__construct()
S
68 2 7
burst_field::get_field_type()
S
71 2 6
burst_field::notice()
S
65 2 9
burst_field::has_errors()
S
71 2 6
burst_review::process_get_review_dismiss()
S
72 2 5
burst_config::has_sections()
S
70 2 6
burst_sanitize_date_range()
S
68 2 8
burst_statistics::calculate_percentage_uplift()
S
73 2 4
burst_array_filter_multidimensional()
S
66 2 9
burst_field::get_comment()
S
68 2 8
burst_intro()
S
69 2 7
burst_read_more()
S
65 2 9
burst_help_tip()
S
65 2 10
burst_admin::add_burst_dashboard_widget()
S
66 2 9
burst_tour::__construct()
S
64 2 9
burst_field::show_errors()
S
67 2 9
burst_filter_cron_schedules()
S
60 1 15
burst_start_tour()
S
73 2 5
burst_statistics::sanitize_metric()
S
69 2 7
burst_admin::remove_plugin_from_array()
S
68 2 7
burst_statistics::calculate_time_per_session()
S
72 2 5
burst_frontend::__construct()
S
66 2 8
burst_update_option()
S
68 2 7
burst_field::sanitize_fieldname()
S
69 2 7
burst_field::get_master_label()
S
66 2 10
burst_elementor_the_content()
S
68 2 7
burst_config::notices()
S
59 1 14
burst_admin::get_daterange_dropdown()
S
64 1 14
burst_statistics::get_real_time_visitors()
S
60 1 13
burst_add_general_settings()
S
61 1 13
burst_register_rest_routes()
S
63 1 12
burst_tour::this()
S
81 1 3
burst_config::init()
S
75 1 4
burst_field::callback()
S
75 1 4
burst_statistics::nr_of_periods_ago()
S
70 1 5
burst_ip_anonymizer::anonymizeIPv4()
S
78 1 3
burst_localize_date()
S
65 1 9
burst\UserAgent\UserAgentParser::parse()
S
67 1 8
burst_statistics::__construct()
S
70 1 6
burst_exclude_js()
S
73 1 5
burst_admin::generate_burst_dashboard_widget_wrapper()
S
81 1 3
rsp_upgrade_to_pro::init()
S
64 1 9
burst_exclude_inline_js()
S
77 1 4
burst_statistics::get_sql_query_to_exclude_bounces()
S
64 1 10
burst_config::get_step_by_id()
S
74 1 4
burst_config::preload_init()
S
79 1 3
burst_set_activation_time_stamp()
S
80 1 3
burst_statistics::get_metrics()
S
70 1 6
burst\UserAgent\UserAgent::platform()
S
82 1 3
burst\UserAgent\UserAgent::__construct()
S
74 1 5
BURST::hooks()
S
74 1 4
burst_review::this()
S
81 1 3
burst_field::section_complete()
S
91 1 2
burst_statistics::get_nr_of_periods()
S
71 1 5
burst_statistics::ajax_get_real_time_visitors()
S
67 1 8
burst_statistics::ajax_get_today_statistics_html()
S
67 1 8
burst_sessions::__construct()
S
100 1 2
burst_admin::get_warnings()
S
81 1 3
burst\UserAgent\UserAgentParser::__invoke()
S
80 1 3
burst_config::this()
S
81 1 3
burst_field::show_field()
S
75 1 4
burst_field::save_button()
S
67 1 10
burst_format_milliseconds_to_readable_time()
S
63 1 10
burst_admin::this()
S
81 1 3
burst_ip_anonymizer::anonymizeIPv6()
S
78 1 3
burst\UserAgent\UserAgent::browserVersion()
S
82 1 3
burst_clear_scheduled_hooks()
S
78 1 4
burst_clear_elementor_cache()
S
81 1 3
burst_field::step_complete()
S
91 1 2
burst_statistics::calculate_uplift()
S
75 1 4
burst_offset_utc_time_to_gtm_offset()
S
72 1 5
burst_statistics::get_sql_query_to_get_bounces()
S
64 1 10
burst_complianz_add_cookies()
S
77 1 4
burst_ip_anonymizer::anonymizeIp()
S
75 1 4
burst_notices::this()
S
81 1 3
burst_admin::generate_dashboard_widget()
S
71 1 6
burst_frontend::this()
S
81 1 3
burst\UserAgent\UserAgent::browser()
S
82 1 3
burst_field::after_label()
S
75 1 4
burst_get_anon_ip_address()
S
74 1 5
burst_field::this()
S
81 1 3
burst_get_date_ranges()
S
66 1 10
burst_goals::__construct()
S
100 1 2
burst_display_date()
S
75 1 4
burst_statistics::calculate_bounce_percentage()
S
79 1 3