Charitable_Dashboard D

Total Complexity 190
Dependencies 6
Dependents 3
Total lines 1,509
Lines of code 908
Logical lines of code 419
Comment lines 383
Methods 32
Properties 10

Methods 32

Method Rating Maintainability Complexity Lines of code
generate_dashboard_report_html()
D
14
60 323
get_dashboard_recommended_addons()
B
30 16 135
get_recommended_dashboard_addons()
B
46 20 31
dashboard_cta()
A
40 6 74
maybe_show_dashboard_growth_tool_chart_notice()
A
50 9 26
maybe_cache_dashboard()
S
60 7 15
init()
S
47 5 35
charitable_remove_dashboard_notification()
S
54 6 20
get_filter_dropdown()
S
58 6 15
get_donation_axis()
S
62 6 11
get_date_axis()
S
61 6 11
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_notifications()
S
76 1 4
get_notices()
S
78 1 3