Ga_Stats D

Total Complexity 162
Dependencies 0
Dependents 2
Total lines 1,073
Lines of code 660
Logical lines of code 295
Comment lines 313
Methods 41
Properties 1

Methods 41

Method Rating Maintainability Complexity Lines of code
prepare_boxes()
B
48 21 27
get_chart()
A
49 13 28
get_sources()
A
45 11 42
get_query()
A
52 10 24
get_dashboard_chart()
A
54 9 20
get_gender_chart()
S
58 8 13
get_age_chart()
S
58 8 13
get_device_chart()
S
59 8 13
boxes_query()
S
52 4 25
dashboard_boxes_query_old()
S
47 3 40
get_boxes_from_totals()
S
54 4 20
main_chart_query_old()
S
53 3 24
sources_query()
S
48 2 38
dashboard_boxes_query()
S
48 2 38
get_dashboard_boxes_data()
S
48 2 36
get_single_report()
S
65 4 10
set_metrics()
S
60 3 15
get_single_row()
S
65 4 10
set_date_ranges()
S
60 3 14
number_format_clean()
S
62 3 11
main_chart_query()
S
56 2 19
age_chart_query()
S
57 2 17
gender_chart_query()
S
57 2 17
get_metric_value()
S
67 3 8
get_empty_boxes_structure()
S
52 1 28
get_boxes()
S
62 2 11
get_totals()
S
71 2 6
get_report_data()
S
71 2 6
get_report_column_header()
S
71 2 6
handle_more_rows()
S
73 2 5
handle_more_reports()
S
73 2 5
get_reports_from_response()
S
71 2 6
get_row_count()
S
71 2 6
get_rows()
S
71 2 6
get_metrics()
S
71 2 6
get_dimensions()
S
71 2 6
device_chart_query()
S
61 1 13
prepare_response()
S
63 1 11
set_dimensions()
S
69 1 7
set_order_bys()
S
67 1 8
__construct()
S
91 1 2