burst_statistics D

Total Complexity 140
Dependencies 1
Dependents 1
Total lines 1,232
Lines of code 896
Logical lines of code 456
Comment lines 175
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
get_sql_select_for_metric()
A
44 14 45
get_dashboard_widget_statistics()
A
43 13 44
get_sql_table()
A
42 12 48
get_chart_data_by_metric()
A
35 9 85
get_today_data()
A
37 7 85
enqueue_burst_tracking_script()
S
47 6 36
get_pages_data()
S
44 5 47
get_insights_data()
S
42 4 56
get_sql_select_for_metrics()
S
53 6 22
exclude_from_tracking()
S
58 6 15
get_devices_data()
S
40 2 71
get_device_name()
S
57 5 18
defer_burst_tracking_script()
S
59 5 15
get_referrers_data()
S
45 3 43
get_metric_color()
S
51 3 31
get_compare_goals_data()
S
45 1 46
enqueue_burst_time_tracking_script()
S
65 4 8
get_compare_data()
S
48 1 38
calculate_uplift_status()
S
64 3 10
format_uplift()
S
67 3 7
calculate_ratio()
S
64 3 9
sanitize_metrics()
S
65 3 9
get_live_visitors_data()
S
59 2 14
sanitize_interval()
S
63 2 12
get_pages_by_metric()
S
56 1 18
calculate_time_per_session()
S
74 2 4
convert_date_to_utc()
S
68 2 6
get_nr_of_periods()
S
70 2 5
calculate_percentage_uplift()
S
73 2 4
sanitize_metric()
S
69 2 7
calculate_uplift()
S
75 1 4
calculate_conversion_rate()
S
79 1 3
get_data()
S
69 1 6
get_metrics()
S
65 1 9
get_bounces()
S
69 1 6
get_conversions()
S
71 1 5
__construct()
S
71 1 5