burst_statistics D

Total Complexity 164
Dependencies 1
Dependents 1
Total lines 1,435
Lines of code 995
Logical lines of code 478
Comment lines 219
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
get_sql_select_for_metric()
B
41 20 52
get_dashboard_widget_statistics()
A
36 13 90
get_sql_table_raw()
A
42 11 51
get_insights_data()
A
41 9 54
get_today_data()
A
37 7 83
get_devices_title_and_value_data()
S
40 4 72
enqueue_burst_tracking_script()
S
46 6 38
get_insights_date_modifiers()
S
46 6 35
get_where_clause_for_filters()
S
49 6 32
get_devices_subtitle_data()
S
42 4 55
get_sql_select_for_metrics()
S
53 6 23
exclude_from_tracking()
S
58 6 15
get_pages_data()
S
45 4 43
get_sql_table()
S
60 6 11
get_referrers_data()
S
44 3 48
get_device_name()
S
57 5 18
defer_burst_tracking_script()
S
59 5 15
get_metric_color()
S
51 3 31
enqueue_burst_time_tracking_script()
S
61 4 12
get_compare_goals_data()
S
46 1 44
get_compare_data()
S
48 1 37
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 13
sanitize_interval()
S
63 2 12
calculate_time_per_session()
S
74 2 4
convert_date_to_unix()
S
68 2 6
get_nr_of_periods()
S
70 2 5
calculate_percentage_uplift()
S
73 2 4
get_metrics()
S
59 1 15
sanitize_metric()
S
69 2 7
get_bounces()
S
71 1 5
calculate_conversion_rate()
S
79 1 3
calculate_uplift()
S
75 1 4
get_conversions()
S
71 1 5
convert_unix_to_date()
S
67 1 7
get_data()
S
68 1 6
__construct()
S
71 1 5