burst_statistics D

Total Complexity 142
Dependencies 1
Dependents 1
Total lines 1,242
Lines of code 944
Logical lines of code 476
Comment lines 174
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
get_single_statistic()
B
37 15 80
get_dashboard_widget_statistics()
A
42 12 48
get_today_data()
A
34 8 104
generate_cached_data()
A
43 9 50
get_chart_data_by_metric()
A
39 8 63
get_time_stamp_for_date_range()
A
48 9 33
enqueue_burst_tracking_script()
S
48 6 31
get_compare_data()
S
40 3 71
get_sql_select_for_metric()
S
56 6 21
exclude_from_tracking()
S
58 6 15
get_insights_data()
S
42 3 55
get_devices_data()
S
41 2 68
get_transient()
S
57 5 16
defer_burst_tracking_script()
S
59 5 15
get_pages_data()
S
47 3 40
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
get_referrers_data()
S
46 1 42
calculate_uplift_status()
S
64 3 10
sanitize_metrics()
S
65 3 9
calculate_ratio()
S
64 3 9
format_uplift()
S
67 3 7
sanitize_interval()
S
63 2 12
get_pages_by_metric()
S
55 1 19
calculate_time_per_session()
S
74 2 4
get_nr_of_periods()
S
70 2 5
convert_date_to_utc()
S
68 2 6
sanitize_metric()
S
69 2 7
calculate_percentage_uplift()
S
73 2 4
get_sql_table_bounces()
S
60 1 13
get_sql_table()
S
60 1 13
__construct()
S
71 1 5
calculate_uplift()
S
75 1 4
get_metrics()
S
66 1 8
set_transient()
S
66 1 8