Charitable_Gateway_Stripe_AM D

Total Complexity 140
Dependencies 16
Dependents 14
Total lines 1,583
Lines of code 851
Logical lines of code 297
Comment lines 530
Methods 45
Properties 1

Methods 45

Method Rating Maintainability Complexity Lines of code
gateway_settings()
C
25
16 224
get_stripe_customer()
A
52 10 22
get_credit_card_fields()
A
39 6 81
refund_donation_from_dashboard()
A
45 8 40
cancel_subscription()
A
48 7 33
get_connection_status_content()
S
46 6 38
validate_donation()
S
54 7 20
maybe_active_public_gateway()
S
56 7 18
maybe_process_webhook_with_stripe_connect()
S
50 5 29
process_donation()
S
60 4 12
is_donation_refundable()
S
62 4 11
create_stripe_customer()
S
51 3 25
setup_api()
S
55 3 20
get_stripe_connect_button()
S
50 1 47
is_subscription_cancellable()
S
63 4 10
set_minimum_donation_amount()
S
66 4 8
get_customer_card()
S
58 3 14
get_source()
S
61 3 12
get_keys()
S
62 3 11
add_hidden_stripe_account_field()
S
62 3 11
get_stripe_connect_url()
S
55 2 20
check_keys_exist()
S
66 3 8
setup_donation_form_field_output_buffer()
S
63 2 11
__construct()
S
54 1 21
maybe_stripe_connected()
S
79 2 3
get_gateway_value()
S
70 2 6
remove_name_attribute_from_cc_fields()
S
66 2 8
maybe_return_stripe_connect_setting()
S
71 2 6
get_stripe_disconnect_url()
S
61 1 14
register_gateway()
S
76 1 4
get_gateway_id()
S
80 1 3
get_gateway_value_from_processor()
S
79 1 3
is_recurring_donation()
S
79 1 3
process_completed_subscription()
S
79 1 3
get_amount()
S
79 1 3
is_zero_decimal_currency()
S
80 1 3
get_zero_decimal_currencies()
S
80 1 3
make_charge()
S
80 1 3
clear_charges()
S
80 1 3
get_charges()
S
80 1 3
save_charge_results()
S
80 1 3
enqueue_scripts()
S
68 1 8
maybe_setup_scripts_in_donation_form()
S
68 1 8
maybe_setup_scripts_in_campaign_loop()
S
68 1 8
require_credit_card_details()
S
71 1 7