burst_statistics D

Total Complexity 161
Dependencies 2
Dependents 1
Total lines 1,054
Lines of code 779
Logical lines of code 428
Comment lines 188
Methods 32
Properties 0

Methods 32

Method Rating Maintainability Complexity Lines of code
get_compare_statistics()
B
34 18 89
get_platform_and_device_statistics()
B
35 18 86
get_single_statistic()
B
36 15 82
ajax_get_chart_statistics()
A
38 12 68
get_hits_single()
A
38 9 65
get_grouped_statistics_array()
A
41 9 56
get_dashboard_widget_statistics()
A
44 8 47
get_graph_color()
A
54 9 21
generate_cached_data()
A
45 7 43
get_time_stamp_for_date_range()
S
51 7 26
enqueue_burst_tracking_script()
S
49 6 29
defer_burst_tracking_script()
S
59 5 15
exclude_from_tracking()
S
61 5 13
enqueue_burst_time_tracking_script()
S
65 4 8
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
calculate_percentage_uplift()
S
73 2 4
calculate_time_per_session()
S
72 2 5
sanitize_metric()
S
69 2 7
get_real_time_visitors()
S
60 1 13
get_sql_query_to_get_bounces()
S
64 1 10
calculate_uplift()
S
75 1 4
__construct()
S
65 1 8
get_sql_query_to_exclude_bounces()
S
64 1 10
ajax_get_today_statistics_html()
S
67 1 8
ajax_get_real_time_visitors()
S
67 1 8
nr_of_periods_ago()
S
70 1 5
get_nr_of_periods()
S
71 1 5
get_metrics()
S
70 1 6
calculate_bounce_percentage()
S
79 1 3