burst_statistics D

Total Complexity 167
Dependencies 1
Dependents 1
Total lines 1,251
Lines of code 959
Logical lines of code 491
Comment lines 170
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
get_single_statistic()
B
37 15 80
get_chart_data_by_metric()
A
40 13 57
get_today_data()
A
34 8 105
get_compare_data()
A
38 9 77
get_dashboard_widget_statistics()
A
43 10 47
get_devices_data()
A
39 8 74
generate_cached_data()
A
43 9 50
get_pages_data()
A
44 9 45
get_time_stamp_for_date_range()
A
48 9 33
get_referrers_data()
A
43 7 47
enqueue_burst_tracking_script()
S
49 6 30
get_sql_select_for_metric()
S
56 6 21
exclude_from_tracking()
S
58 6 15
get_insights_data()
S
42 3 55
get_transient()
S
57 5 16
defer_burst_tracking_script()
S
59 5 15
get_metric_color()
S
52 3 27
enqueue_burst_time_tracking_script()
S
65 4 8
get_sql_select_for_metrics()
S
60 3 14
format_uplift()
S
67 3 7
calculate_ratio()
S
64 3 9
calculate_uplift_status()
S
64 3 10
sanitize_metrics()
S
65 3 9
sanitize_interval()
S
63 2 12
get_pages_by_metric()
S
55 1 19
calculate_time_per_session()
S
74 2 4
calculate_percentage_uplift()
S
73 2 4
sanitize_metric()
S
69 2 7
get_sql_table()
S
60 1 13
get_sql_table_bounces()
S
60 1 13
__construct()
S
71 1 5
get_nr_of_periods()
S
71 1 5
calculate_uplift()
S
75 1 4
convert_date_to_utc()
S
69 1 6
get_metrics()
S
66 1 8
set_transient()
S
66 1 8