Charitable_Reports D

Total Complexity 446
Dependencies 7
Dependents 6
Total lines 4,178
Lines of code 2,540
Logical lines of code 1,207
Comment lines 1,062
Methods 75
Properties 18

Methods 75

Method Rating Maintainability Complexity Lines of code
generate_donor_breakdown_rows()
D
31 34 90
get_lybunt_data()
C
35 26 74
show_pagination()
B
36 20 81
generate_top_campaigns()
B
37 18 76
get_data_sample()
B
26
7 241
generate_top_donors()
B
38 18 69
generate_activity_list()
B
39 18 61
get_donors_data_array()
A
32 10 127
get_donation_activity_secondary_info()
A
49 16 25
get_top_donors_overview()
A
42 14 50
generate_advanced_breakdown_report_html()
A
36 10 104
generate_pagination_html()
A
50 14 22
get_data()
A
40 10 63
generate_donor_breakdown_table_html()
A
39 8 83
get_donations_by_payment()
A
40 9 67
get_donations_by_day()
A
44 10 45
get_donors_data()
A
37 5 101
get_refunds()
A
41 7 60
generate_title_card_html()
A
41 6 75
get_activity()
A
45 8 44
reports_cta()
A
40 6 74
generate_advanced_cards()
A
40 6 69
generate_lybunt_rows()
A
43 7 48
sort_lybunt_data()
A
57 8 17
generate_payment_methods_list()
S
46 6 45
get_advanced_report_table_meta()
S
50 7 27
get_donor_report_by_type()
S
52 7 26
generate_recent_donations_list()
S
47 6 37
generate_donations_breakdown_rows()
S
48 6 34
get_donor_report_table_meta()
S
45 4 51
set_donation_axis()
S
58 6 15
get_activity_report_filter_dropdown()
S
51 5 27
maybe_cache_report()
S
63 6 12
init_axis_with_donations()
S
55 5 20
get_activity_refund_total()
S
59 5 15
get_activity_refund_count()
S
59 5 15
maybe_load_scripts()
S
67 6 6
get_activity_secondary_info()
S
61 5 13
get_pagination_data_attributes()
S
55 4 19
init_with_array()
S
47 2 39
get_localized_strings()
S
45 1 45
get_days_between_dates()
S
60 3 14
get_advanced_data_by_report_type()
S
62 3 13
get_donors_count()
S
62 3 12
init()
S
52 2 26
get_cached_report()
S
62 3 11
get_donors_from_db()
S
55 2 23
get_donor_report_type_dropdown()
S
55 2 20
get_advanced_report_type_dropdown()
S
57 2 18
get_donations_total()
S
64 3 10
get_activity_icon_url()
S
69 3 6
is_activities_empty()
S
71 3 6
get_valid_date_string()
S
64 3 9
get_filter_dropdown()
S
61 2 13
get_campaign_activity_secondary_info()
S
62 2 12
generate_advanced_breakdown_rows()
S
63 2 11
get_donation_breakdown_data()
S
58 1 19
get_top_donors()
S
73 2 6
get_recurring_donors()
S
73 2 6
get_first_time_donors()
S
73 2 6
set_cached_report()
S
65 2 8
set_date_axis()
S
65 2 8
get_net()
S
72 2 6
reports_cta_dismiss()
S
69 2 7
get_instance()
S
72 2 6
get_sections()
S
62 1 12
__construct()
S
91 1 2
report_vars()
S
72 1 7
get_donations()
S
82 1 3
get_pagination_url()
S
74 1 4
get_cache_key()
S
70 1 5
charitable_reports_format_money()
S
80 1 3
get_campaign_categories()
S
69 1 8
is_report_type_donor()
S
78 1 3
maybe_add_reports_cta()
S
72 1 5