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

Function Rating Maintainability Complexity Lines of code
parse_user_agent()
D
24
49 148
burst_notices::get_notices_list()
D
26
39 157
burst_get_user_agent_data()
C
40 32 51
rsp_upgrade_to_pro::api_request()
B
41 20 48
burst_rest_api_fields_set()
B
38 18 67
rsp_upgrade_to_pro::validate()
B
37 16 72
rsp_upgrade_to_pro::get_suggested_plugin()
B
38 16 70
burst_statistics::get_single_statistic()
B
37 15 80
burst_sanitize_field()
A
49 15 32
burst_other_plugins_data()
A
42 13 53
rsp_upgrade_to_pro::__construct()
A
36 10 83
burst_check_upgrade()
A
48 13 34
burst_statistics::get_dashboard_widget_statistics()
A
42 12 48
burst_track_hit()
A
37 10 75
burst_statistics::get_today_data()
A
34 8 104
burst_notices::count_plusones()
A
50 13 28
burst_fields()
A
34 6 120
rsp_upgrade_to_pro::print_install_modal()
A
40 9 67
burst_notices::validate_function()
A
48 11 33
rsp_upgrade_to_pro::process_ajax_destination_clear()
A
46 10 38
burst_statistics::generate_cached_data()
A
43 9 50
burst_admin::deactivate_popup()
A
36 3 139
burst_statistics::get_chart_data_by_metric()
A
39 8 63
burst_is_pagebuilder_preview()
A
56 11 17
burst_blocks()
A
35 5 105
burst_statistics::get_time_stamp_for_date_range()
A
48 9 33
burst_format_number()
A
49 9 31
burst_get_data()
A
46 8 39
BURST::instance()
A
54 9 20
burst_rest_api_fields_get()
A
48 8 34
burst_integration_plugin_is_active()
A
55 9 19
burst_review::__construct()
A
52 8 25
BURST::includes()
A
52 8 24
rsp_upgrade_to_pro::process_ajax_package_information()
A
53 8 23
burst_add_manage_capability()
A
54 8 20
burst_add_view_capability()
A
54 8 20
rsp_upgrade_to_pro::process_ajax_install_plugin()
A
48 7 34
burst_exclude_plugins_for_rest_api()
A
56 8 18
burst_update_option()
S
50 7 28
burst_get_html_template()
S
51 7 25
burst_run_test()
S
52 7 25
burst_admin::delete_all_burst_data()
S
47 6 39
rsp_upgrade_to_pro::process_ajax_activate_license()
S
54 7 20
burst_statistics::enqueue_burst_tracking_script()
S
48 6 31
burst_statistics::get_compare_data()
S
40 3 71
burst_review::show_leave_review_notice()
S
43 3 69
rsp_upgrade_to_pro::process_ajax_activate_plugin()
S
53 6 22
burst_statistics::get_sql_select_for_metric()
S
56 6 21
burst_fix_rest_url_for_wpml()
S
57 6 18
burst_admin::is_bf()
S
57 6 17
burst_statistics::exclude_from_tracking()
S
58 6 15
burst_admin::listen_for_deactivation()
S
58 6 14
burst_statistics::get_insights_data()
S
42 3 55
burst_statistics::get_devices_data()
S
41 2 68
rsp_upgrade_to_pro::enqueue_assets()
S
53 5 20
burst_admin::empty_dashboard_cache()
S
55 5 19
burst_drop_empty_menu_items()
S
55 5 19
burst_statistics::get_transient()
S
57 5 16
burst_statistics::defer_burst_tracking_script()
S
59 5 15
burst_admin::enqueue_assets()
S
62 6 9
burst_integrations()
S
58 5 15
burst_endpoint::endpoint_test_request()
S
50 4 29
burst_notices::is_burst_page()
S
60 5 13
burst_rest_track_hit()
S
60 5 12
burst_get_last_user_statistic()
S
53 4 26
burst_get_ip_address()
S
52 4 26
burst_panel()
S
53 4 26
burst_statistics::get_pages_data()
S
47 3 40
burst_installer::download_plugin()
S
54 4 21
burst_do_action()
S
56 4 19
burst_settings_rest_route()
S
47 2 47
burst_admin::add_burst_admin_columns()
S
58 4 15
burst_admin::posts_orderby_total_pageviews()
S
64 5 9
burst_plugin_actions()
S
59 4 15
burst_is_ip_blocked()
S
58 4 15
burst_sanitize_referrer()
S
60 4 12
burst_statistics::get_metric_color()
S
52 3 27
burst_add_option_menu()
S
52 3 26
burst_admin_notice()
S
58 3 21
burst_menu()
S
47 1 48
burst_plugin_admin_scripts()
S
48 2 33
burst_endpoint::rest_api_test_request()
S
56 3 18
burst_admin::add_admin_column()
S
57 3 17
BURST::setup_constants()
S
58 3 17
burst_install_statistics_table()
S
52 2 31
burst_beacon_track_hit()
S
59 3 15
burst_remove_empty_values()
S
66 4 8
burst_statistics::enqueue_burst_time_tracking_script()
S
65 4 8
burst_review::dismiss_review_notice_callback()
S
63 4 10
burst_required_values_are_set()
S
76 4 3
burst_get_option()
S
64 4 9
burst_get_current_post_id()
S
67 4 7
burst_read_more()
S
59 3 15
burst_installer::install()
S
66 4 9
burst_statistics::get_sql_select_for_metrics()
S
60 3 14
burst_endpoint::get_tracking_status_and_time()
S
60 3 13
burst_frontend::add_to_admin_bar_menu()
S
61 3 13
burst_admin::setup_defaults()
S
60 3 13
burst_admin::__construct()
S
50 2 28
burst_activation_check()
S
61 3 13
burst_get_template()
S
61 3 13
burst_statistics::get_referrers_data()
S
46 1 42
burst_installer::activate_plugin()
S
62 3 12
burst_sprintf()
S
61 3 12
burst_endpoint::test_tracking_status()
S
63 3 11
burst_endpoint::install_endpoint_file()
S
62 3 11
rsp_upgrade_to_pro::get_plugin_info()
S
62 3 11
burst_notice()
S
63 3 11
burst_installer::get_plugin_info()
S
62 3 11
burst_dashboard()
S
59 2 23
burst_sanitize_field_type()
S
57 2 19
burst_install_sessions_table()
S
57 2 18
burst_install_goals_table()
S
58 2 17
burst_is_real_ip()
S
74 3 4
burst_sanitize_fingerprint()
S
70 3 6
burst_schedule_cron()
S
66 3 9
burst_user_can_view()
S
67 3 9
burst_get_current_post_type()
S
65 3 10
BURST()
S
70 3 6
burst_get_blocked_ips()
S
65 3 9
burst_ip_anonymizer::anonymize()
S
64 3 10
burst_statistics::format_uplift()
S
67 3 7
BURST::get_instance()
S
67 3 8
burst_statistics::sanitize_metrics()
S
65 3 9
burst_statistics::calculate_ratio()
S
64 3 9
burst_statistics::calculate_uplift_status()
S
64 3 10
burst_review::insert_dismiss_review()
S
57 1 30
burst_is_logged_in_rest()
S
67 3 7
burst_sanitize_uid()
S
71 3 6
burst_user_can_manage()
S
67 3 9
burst_rest_api_block_get()
S
67 3 8
burst_admin_url()
S
77 3 3
burst_admin::plugin_settings_link()
S
59 2 14
burst_admin::add_privacy_info()
S
61 2 13
burst_statistics::sanitize_interval()
S
63 2 12
burst_printf()
S
62 2 11
burst_sanitize_ip_field()
S
63 2 11
burst_filter_cron_schedules()
S
57 1 19
burst_statistics::get_pages_by_metric()
S
55 1 19
burst_endpoint::get_endpoint_file_contents()
S
60 1 16
burst_update_statistic()
S
64 2 10
burst_sanitize_page_url()
S
69 2 7
burst_statistics::convert_date_to_utc()
S
68 2 6
burst_notices::dismiss_notice()
S
66 2 8
burst_frontend::__construct()
S
66 2 8
burst_statistics::sanitize_metric()
S
69 2 7
burst_array_filter_multidimensional()
S
70 2 6
burst_notices::__construct()
S
68 2 7
burst_get_user_roles()
S
70 2 7
burst_sanitize_date_range()
S
68 2 8
burst_intro()
S
69 2 7
burst_notices::notices()
S
65 2 9
burst_get_referrer_url()
S
64 2 9
burst_get_first_time_visit()
S
66 2 7
burst_installer::__construct()
S
75 2 4
burst_admin::add_burst_dashboard_widget()
S
66 2 9
delete_post_pageviews_on_duplicate_product()
S
69 2 7
burst_review::process_get_review_dismiss()
S
72 2 5
burst_statistics::calculate_percentage_uplift()
S
73 2 4
burst_create_statistic()
S
66 2 9
burst_endpoint::install()
S
66 2 8
burst_admin::remove_plugin_from_array()
S
68 2 7
burst_endpoint::__construct()
S
66 2 8
burst_statistics::calculate_time_per_session()
S
74 2 4
burst_sanitize_page_id()
S
79 2 3
burst_statistics::get_nr_of_periods()
S
70 2 5
burst_elementor_the_content()
S
68 2 7
burst_statistics::get_sql_table()
S
60 1 13
burst_statistics::get_sql_table_bounces()
S
60 1 13
burst_get_date_ranges()
S
65 1 11
burst_ip_anonymizer::anonymizeIPv4()
S
78 1 3
burst_statistics::calculate_uplift()
S
75 1 4
burst_sessions::__construct()
S
100 1 2
burst_format_milliseconds_to_readable_time()
S
65 1 9
burst_tracking_status_error()
S
80 1 3
burst_create_session()
S
66 1 9
burst_migrate_settings()
S
100 1 2
burst_offset_utc_time_to_gtm_offset()
S
72 1 5
burst_installer::get_activation_slug()
S
67 1 8
burst_set_defaults()
S
83 1 3
burst_ip_anonymizer::anonymizeIp()
S
75 1 4
BURST::__construct()
S
91 1 2
BURST::hooks()
S
74 1 4
burst_get_anon_ip_address()
S
77 1 4
burst_ip_anonymizer::anonymizeIPv6()
S
78 1 3
burst_exclude_inline_js()
S
77 1 4
rsp_upgrade_to_pro::init()
S
64 1 9
burst_sanitize_user_agent()
S
79 1 3
burst_get_value()
S
80 1 3
burst_admin::this()
S
81 1 3
burst_register_track_hit_route()
S
66 1 10
burst_notices::get()
S
74 1 5
burst_admin::ms_remove_tables()
S
68 1 7
burst\UserAgent\UserAgent::__construct()
S
74 1 5
burst_get_tracking_status()
S
82 1 3
burst_endpoint::get_tracking_status()
S
76 1 4
burst_clear_scheduled_hooks()
S
82 1 3
burst_endpoint::this()
S
80 1 3
burst_admin::generate_dashboard_widget()
S
80 1 3
burst_sanitize_time_on_page()
S
82 1 3
burst\UserAgent\UserAgent::browserVersion()
S
82 1 3
burst_statistics::set_transient()
S
66 1 8
burst_tracking_status_beacon()
S
80 1 3
burst_tracking_status_rest_api()
S
80 1 3
burst_sanitize_entire_page_url()
S
79 1 3
burst_display_date()
S
79 1 3
burst_add_role_to_subsite()
S
74 1 5
burst_clear_elementor_cache()
S
81 1 3
burst_update_session()
S
66 1 9
burst_complianz_add_cookies()
S
77 1 4
burst\UserAgent\UserAgent::platform()
S
82 1 3
burst\UserAgent\UserAgent::browser()
S
82 1 3
burst_installer::plugin_is_downloaded()
S
79 1 3
burst_notices::this()
S
81 1 3
burst_sanitize_device_resolution()
S
79 1 3
burst\UserAgent\UserAgentParser::__invoke()
S
80 1 3
burst_notices::get_lowest_possible_task_count()
S
75 1 4
burst_statistics::__construct()
S
71 1 5
burst_installer::plugin_is_activated()
S
80 1 3
burst_frontend::this()
S
81 1 3
burst_review::this()
S
81 1 3
burst_exclude_js()
S
73 1 5
burst\UserAgent\UserAgentParser::parse()
S
67 1 8
burst_statistics::get_metrics()
S
66 1 8
burst_get_beacon_url()
S
76 1 4
burst_sanitize_first_time_visit()
S
81 1 3
burst_sanitize_time()
S
82 1 3
burst_localize_date()
S
66 1 8
burst_goals::__construct()
S
100 1 2