Charitable_Dashboard D

Total Complexity 174
Dependencies 5
Dependents 3
Total lines 1,479
Lines of code 876
Logical lines of code 394
Comment lines 375
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
generate_dashboard_report_html()
D
15
57 309
get_dashboard_recommended_addons()
B
30 16 135
get_recommended_dashboard_addons()
A
49 12 27
maybe_show_dashboard_growth_tool_chart_notice()
A
50 9 26
dashboard_cta()
S
42 4 67
maybe_cache_dashboard()
S
60 7 15
init()
S
47 5 35
get_filter_dropdown()
S
58 6 15
get_donation_axis()
S
62 6 11
get_date_axis()
S
61 6 11
charitable_remove_dashboard_notification()
S
58 4 17
display_notifications()
S
50 3 31
set_cached_dashboard_data_args()
S
65 4 8
is_dashboard_data_cached()
S
63 4 10
get_days()
S
72 4 5
maybe_load_scripts()
S
64 4 9
get_dashboard_support_links()
S
48 1 38
enable_tooltips()
S
57 2 19
get_localized_strings()
S
53 1 23
get_cached_dashboard_data_args()
S
69 2 7
get_start_date()
S
74 2 4
get_end_date()
S
74 2 4
get_filter_value()
S
74 2 4
get_days_between_dates()
S
64 2 10
reports_cta_dismiss()
S
69 2 7
get_instance()
S
72 2 6
__construct()
S
70 1 6
is_data_cached()
S
82 1 3
report_vars()
S
72 1 7
get_dashboard_recommended_snippets()
S
75 1 4
get_notices()
S
78 1 3