Charity_Campaigns_Settings A

Total Complexity 66
Dependencies 1
Dependents 6
Total lines 784
Lines of code 482
Logical lines of code 168
Comment lines 217
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
sanitize_settings()
B
44 16 48
register_settings()
A
35 1 127
stripe_section_callback()
S
52 4 30
default_currency_callback()
S
52 3 22
default_campaign_status_callback()
S
56 3 16
default_donation_status_callback()
S
56 3 16
get_currency_symbol()
S
57 2 16
enqueue_settings_scripts()
S
63 2 12
predefined_amounts_callback()
S
55 1 23
stripe_test_mode_callback()
S
59 1 17
stripe_publishable_key_callback()
S
60 1 16
stripe_secret_key_callback()
S
60 1 16
settings_page_callback()
S
62 1 15
currency_symbol_position_callback()
S
62 2 9
decimal_places_callback()
S
67 2 6
organization_name_callback()
S
67 2 6
organization_logo_callback()
S
66 2 7
show_predefined_amounts_callback()
S
60 1 15
get_setting()
S
74 2 4
__construct()
S
72 1 5
add_settings_page()
S
65 1 10
currency_section_callback()
S
78 1 3
organization_section_callback()
S
78 1 3
default_section_callback()
S
78 1 3
taxonomies_section_callback()
S
66 1 7
donation_form_section_callback()
S
78 1 3
get_default_currency()
S
78 1 3
get_currency_symbol_position()
S
78 1 3
get_decimal_places()
S
78 1 3
get_default_campaign_status()
S
78 1 3
get_default_donation_status()
S
78 1 3
get_organization_name()
S
78 1 3
get_organization_logo()
S
78 1 3
get_predefined_amounts()
S
77 1 3
show_predefined_amounts()
S
78 1 3