Charitable_Campaign D

Total Complexity 180
Dependencies 7
Dependents 25
Total lines 1,570
Lines of code 618
Logical lines of code 332
Comment lines 729
Methods 63
Properties 8

Methods 63

Method Rating Maintainability Complexity Lines of code
get_status_tag()
A
44 16 45
get_status_key()
A
55 9 20
get_end_time()
A
56 9 16
description_content()
S
50 7 28
sanitize_custom_donations()
S
55 7 20
get_time_left()
S
48 5 33
donate_button_template()
S
55 5 20
sanitize_campaign_suggested_donations()
S
56 5 18
get_initial_donation_period()
S
57 5 17
sanitize_campaign_description()
S
44 2 58
get_status()
S
66 5 7
get_end_date()
S
60 4 13
get_finished_notice()
S
59 4 13
get_goal_achieved_message()
S
62 4 12
sanitize_campaign_end_date()
S
61 4 12
get_donation_period_in_session()
S
64 4 10
donate_button_loop_template()
S
59 3 14
get_donated_amount()
S
61 3 12
get_donation_summary()
S
56 2 18
__get()
S
70 3 6
get()
S
64 3 10
get_suggested_donations_default()
S
67 3 7
get_seconds_left()
S
68 3 7
get_goal()
S
70 3 6
get_min_donation_amount()
S
70 3 6
sanitize_campaign_goal()
S
70 3 6
sanitize_min_donation_amount()
S
70 3 6
filter_suggested_donation()
S
70 3 6
__construct()
S
67 2 7
get_meta()
S
70 2 6
fields()
S
70 2 6
get_campaign_id()
S
78 2 3
get_suggested_donations()
S
68 2 7
has_ended()
S
78 2 3
get_time_since_ended()
S
71 2 6
get_monetary_goal()
S
71 2 6
get_admin_edit_link()
S
65 2 9
get_donations()
S
66 2 8
get_percent_donated()
S
66 2 8
get_percent_donated_raw()
S
70 2 6
get_donation_form()
S
68 2 7
get_donation_amount_in_session()
S
71 2 5
sanitize_checkbox()
S
77 2 3
__sleep()
S
66 1 10
is_endless()
S
79 1 3
get_allow_custom_donations()
S
78 1 3
can_receive_donations()
S
74 1 4
has_goal()
S
79 1 3
has_achieved_goal()
S
79 1 3
get_permalink()
S
80 1 3
get_donated_amount_formatted()
S
80 1 3
get_builder_donation_summary()
S
63 1 10
get_donor_count()
S
69 1 7
get_default_donation_amount()
S
79 1 3
get_campaign_creator()
S
79 1 3
get_campaign_creator_name()
S
79 1 3
get_campaign_creator_email()
S
79 1 3
sanitize_campaign_suggested_donations_default()
S
81 1 3
sanitize_campaign_donate_button_text()
S
80 1 3
flush_donations_cache()
S
73 1 5
get_donations_cache_key()
S
79 1 3
get_donation_amount_cache_key()
S
79 1 3
sanitize_meta()
S
74 1 4