Code Analysis: Burst Statistics 1.0.0

Function Rating Maintainability Complexity Lines of code
parse_user_agent()
D
24
47 142
burst_notices::get_notices()
D
31 31 114
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_statistics::get_single_statistic()
C
30 22 131
burst_get_value()
C
39 25 62
burst_statistics::get_platform_and_device_statistics()
B
35 18 86
burst_statistics::get_compare_statistics()
B
35 18 84
burst_field::multicheckbox()
A
40 14 65
burst_config::fields()
A
47 16 35
burst_statistics::ajax_get_chart_statistics()
A
38 12 71
burst_field::sanitize()
A
51 12 27
burst_statistics::get_hits_single()
A
38 9 65
burst_field::save_field()
A
48 11 32
burst_conclusion()
A
42 9 60
burst_statistics::get_grouped_statistics_array()
A
40 9 57
burst_field::before_label()
A
45 10 41
burst_admin::enqueue_assets()
A
38 8 68
burst_statistics::generate_cached_data()
A
43 9 48
burst_field::radio()
A
45 9 47
burst_is_pagebuilder_preview()
A
56 11 17
burst_admin::init_grid()
A
36 6 91
burst_admin::deactivate_popup()
A
37 3 128
burst_field::checkbox()
A
47 9 37
burst_field::select_variant()
A
44 8 48
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_review::__construct()
A
52 8 25
burst_track_hit()
A
39 5 66
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_statistics::get_latest_visit_data()
S
52 7 25
burst_field::date()
S
47 6 37
burst_field::select_control()
S
47 6 37
burst_field::select2()
S
48 6 35
burst_grid_element()
S
45 5 47
burst_field::select()
S
50 6 30
burst_get_user_info()
S
53 6 24
burst_review::show_leave_review_notice()
S
43 3 69
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_field::text()
S
52 5 26
burst_notices::render_warning()
S
52 5 24
burst_statistics::enqueue_burst_tracking_script()
S
52 5 24
burst_field::textarea()
S
53 5 23
burst_notices::dismiss_notice()
S
55 5 21
burst_format_number()
S
54 5 20
burst_field::copy()
S
50 4 33
burst_field::step_has_fields()
S
56 5 18
burst_tour::restart_tour()
S
58 5 16
burst_statistics::exclude_from_tracking()
S
61 5 13
burst_panel()
S
53 4 26
burst_admin::delete_all_burst_data()
S
53 4 25
burst_field::weightslider()
S
49 3 38
burst_field::editor()
S
52 4 23
burst_load_grid_block()
S
55 4 20
burst_sidebar_notice()
S
54 4 20
burst_field::function_callback_applies()
S
59 4 16
burst_integrations()
S
60 4 13
burst_admin_notice()
S
58 3 21
burst_field::label()
S
56 3 19
burst_admin::burst_pages()
S
55 3 18
burst_get_current_post_id()
S
67 4 7
burst_get_current_post_type()
S
66 4 9
burst_install_statistics_table()
S
52 2 30
burst_review::dismiss_review_notice_callback()
S
63 4 10
BURST::setup_constants()
S
62 3 14
burst_sprintf()
S
60 3 13
burst_activation_check()
S
61 3 13
burst_field::after_field()
S
61 3 12
burst_get_anon_ip_address()
S
63 3 11
burst_random_str()
S
61 3 11
burst_schedule_cron()
S
63 3 11
burst_notice()
S
63 3 11
burst_admin::__construct()
S
51 2 26
burst_icon()
S
53 2 25
BURST::includes()
S
56 2 20
burst_admin::register_admin_page()
S
55 2 19
burst_update_time_on_page()
S
58 2 17
burst_install_goals_table()
S
58 2 17
burst_install_sessions_table()
S
58 2 17
BURST::__construct()
S
58 2 17
burst_admin::get_metric_dropdown()
S
57 2 16
burst_field::is_conditional()
S
66 3 9
burst_tour::listen_for_cancel_tour()
S
65 3 9
burst_admin::sanitize_burst_page()
S
65 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::get_instance()
S
67 3 8
burst_statistics::sanitize_metrics()
S
65 3 9
burst_statistics::calculate_ratio()
S
64 3 9
burst_statistics::format_uplift()
S
66 3 8
burst_field::filter_burst_fields()
S
65 3 9
burst_user_can_manage()
S
67 3 9
burst_admin::check_upgrade()
S
65 3 9
burst_statistics::get_real_time_visitors()
S
58 2 15
burst_admin::plugin_settings_link()
S
59 2 14
burst_admin::burst_statistics()
S
59 2 14
burst_field::__construct()
S
60 2 13
burst_config::__construct()
S
60 2 13
burst_printf()
S
62 2 11
burst_grid_container()
S
62 2 11
burst_field::load()
S
55 1 22
burst_admin::get_burst_admin_pages()
S
59 1 16
burst_field::show_errors()
S
66 2 10
burst_read_more()
S
64 2 10
burst_notices::__construct()
S
68 2 7
burst_intro()
S
69 2 7
burst_start_tour()
S
73 2 5
burst_statistics::calculate_time_per_session()
S
72 2 5
burst_statistics::calculate_percentage_uplift()
S
73 2 4
burst_tour::__construct()
S
64 2 9
burst_array_filter_multidimensional()
S
66 2 9
burst_field::notice()
S
65 2 9
burst_field::get_comment()
S
68 2 8
burst_elementor_the_content()
S
68 2 7
burst_config::has_sections()
S
70 2 6
burst_field::get_field_type()
S
71 2 6
burst_add_general_settings()
S
59 1 15
burst_statistics::calculate_uplift_status()
S
74 2 4
burst_update_option()
S
68 2 7
burst_field::get_master_label()
S
66 2 10
burst_field::sanitize_fieldname()
S
69 2 7
burst_sanitize_date_range()
S
68 2 8
burst_statistics::sanitize_metric()
S
69 2 7
burst_filter_cron_schedules()
S
60 1 15
burst_field::has_errors()
S
71 2 6
burst_review::process_get_review_dismiss()
S
73 2 5
burst_admin::remove_plugin_from_array()
S
68 2 7
burst_admin::get_daterange_dropdown()
S
64 1 14
burst_complianz_script()
S
62 1 13
burst_register_rest_routes()
S
63 1 12
burst_ip_anonymizer::anonymizeIPv6()
S
78 1 3
burst_statistics::ajax_get_today_statistics_html()
S
67 1 8
burst_field::this()
S
81 1 3
burst_exclude_inline_js()
S
77 1 4
burst_field::step_complete()
S
91 1 2
burst_field::after_label()
S
75 1 4
donatj\UserAgent\UserAgent::browser()
S
82 1 3
burst_review::this()
S
81 1 3
donatj\UserAgent\UserAgent::__construct()
S
74 1 5
BURST::hooks()
S
74 1 4
burst_format_milliseconds_to_readable_time()
S
63 1 10
burst_clear_scheduled_hooks()
S
78 1 4
burst_field::section_complete()
S
91 1 2
burst_admin::this()
S
81 1 3
burst_goals::__construct()
S
100 1 2
burst_exclude_js()
S
73 1 5
burst_setcookie()
S
64 1 9
donatj\UserAgent\UserAgent::browserVersion()
S
82 1 3
burst_config::init()
S
75 1 4
parse_user_agent()
S
79 1 3
burst_admin::get_warnings()
S
81 1 3
burst_statistics::nr_of_periods_ago()
S
71 1 5
burst_sessions::__construct()
S
100 1 2
burst_localize_date()
S
65 1 9
burst_statistics::calculate_bounce_percentage()
S
79 1 3
burst_tour::this()
S
81 1 3
burst_statistics::get_nr_of_periods()
S
71 1 5
burst_offset_utc_time_to_gtm_offset()
S
72 1 5
donatj\UserAgent\UserAgentParser::__invoke()
S
80 1 3
burst_statistics::ajax_get_real_time_visitors()
S
67 1 8
burst_config::get_step_by_id()
S
74 1 4
burst_display_date()
S
75 1 4
burst_get_thousand_separator()
S
80 1 3
burst_statistics::calculate_uplift()
S
75 1 4
burst_statistics::__construct()
S
70 1 6
burst_statistics::get_sql_query_to_exclude_bounces()
S
69 1 6
burst_field::callback()
S
75 1 4
donatj\UserAgent\UserAgentParser::parse()
S
67 1 8
burst_set_activation_time_stamp()
S
80 1 3
burst_clear_elementor_cache()
S
81 1 3
donatj\UserAgent\UserAgent::platform()
S
82 1 3
burst_get_date_ranges()
S
66 1 10
burst_config::this()
S
81 1 3
burst_statistics::get_metrics()
S
70 1 6
burst_field::save_button()
S
67 1 10
burst_notices::this()
S
81 1 3
burst_ip_anonymizer::anonymizeIPv4()
S
78 1 3
burst_get_decimal_separator()
S
80 1 3
burst_field::show_field()
S
75 1 4
burst_config::preload_init()
S
79 1 3
burst_ip_anonymizer::anonymizeIp()
S
75 1 4