burst_statistics D

Total Complexity 159
Dependencies 3
Dependents 1
Total lines 1,407
Lines of code 949
Logical lines of code 474
Comment lines 257
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
get_sql_select_for_metric()
B
40 20 55
get_sql_table_raw()
B
38 17 61
get_dashboard_widget_statistics()
A
36 13 90
get_where_clause_for_filters()
A
43 11 48
get_insights_data()
A
41 9 55
get_devices_title_and_value_data()
A
37 6 92
get_devices_subtitle_data()
A
38 6 73
get_sql_select_for_metrics()
A
52 8 23
get_insights_date_modifiers()
S
46 6 35
get_today_data()
S
42 4 63
get_sql_table()
S
59 6 12
get_lookup_table_name_by_id()
S
54 5 20
get_datatables_data()
S
45 3 42
get_compare_data()
S
46 3 41
get_metric_color()
S
51 3 31
get_compare_goals_data()
S
46 1 43
get_post_views()
S
61 3 11
calculate_uplift_status()
S
64 3 10
sanitize_metrics()
S
63 3 10
calculate_ratio()
S
64 3 9
format_uplift()
S
67 3 7
get_live_visitors_data()
S
59 2 13
sanitize_interval()
S
63 2 12
get_metrics()
S
57 1 17
get_nr_of_periods()
S
70 2 5
sanitize_metric()
S
69 2 7
convert_date_to_unix()
S
69 2 6
use_lookup_tables()
S
71 2 6
calculate_uplift()
S
75 1 4
__construct()
S
100 1 2
calculate_conversion_rate()
S
79 1 3
convert_unix_to_date()
S
70 1 6
get_wp_timezone_offset()
S
72 1 5
get_referrers_sql()
S
66 1 7
get_conversions()
S
71 1 5
get_bounces()
S
71 1 5
get_data()
S
68 1 6
get_mysql_timezone_offset()
S
64 1 9