burst_statistics D

Total Complexity 157
Dependencies 2
Dependents 1
Total lines 1,026
Lines of code 755
Logical lines of code 421
Comment lines 189
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
get_platform_and_device_statistics()
B
35 18 86
get_compare_statistics()
B
35 18 84
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
get_latest_visit_data()
S
52 7 25
enqueue_burst_tracking_script()
S
52 5 24
exclude_from_tracking()
S
61 5 13
format_uplift()
S
67 3 7
calculate_uplift_status()
S
64 3 10
sanitize_metrics()
S
65 3 9
calculate_ratio()
S
64 3 9
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
calculate_uplift()
S
75 1 4
__construct()
S
70 1 6
get_sql_query_to_exclude_bounces()
S
69 1 6
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