Charitable_Stripe_Gateway_Processor D

Total Complexity 137
Dependencies 12
Dependents 5
Total lines 1,312
Lines of code 538
Logical lines of code 282
Comment lines 576
Methods 44
Properties 12

Methods 44

Method Rating Maintainability Complexity Lines of code
setup_stripe_connect()
A
47 10 35
get_stripe_customer()
A
53 10 21
get_application_fee_amount()
A
50 8 31
create_plan()
A
44 7 45
get_stripe_plan()
S
53 7 22
get_payment_intent_data()
S
54 7 19
log_success()
S
56 5 18
get_statement_descriptor()
S
56 5 16
get_subscription_status()
S
59 5 15
get_connected_stripe_customer()
S
53 4 25
get_plan_period()
S
62 4 12
get_saved_connected_stripe_customer()
S
64 4 9
get_payment_source()
S
60 3 14
get_plan_interval()
S
61 3 13
get_stripe_customer_card_id()
S
59 3 13
get_stripe_campaign_product_id()
S
61 3 12
get_sanitized_donation_amount()
S
63 3 11
get_stripe_shared_customer_token()
S
61 3 11
create_stripe_campaign_product()
S
54 2 21
save_connected_stripe_customer()
S
63 3 10
sanitize_plan_amount()
S
67 3 7
create_stripe_customer()
S
66 3 8
get_saved_stripe_customer_id()
S
66 3 8
log_application_fee()
S
61 2 13
get_zero_decimal_currencies()
S
58 1 19
get_gateway_value()
S
70 2 6
is_zero_decimal_currency()
S
70 2 6
stripe_plan_exists()
S
67 2 8
save_charge_error()
S
67 2 8
using_connected_account()
S
78 2 3
get_application_fee_percentage()
S
70 2 6
save_stripe_customer_id()
S
71 2 5
strip_invalid_characters()
S
62 1 14
__construct()
S
65 1 9
set_stripe_api_key()
S
81 1 3
get_gateway_value_from_processor()
S
79 1 3
get_charge_description()
S
79 1 3
get_charge_metadata()
S
69 1 8
is_recurring_donation()
S
79 1 3
clear_charges()
S
81 1 3
get_charges()
S
82 1 3
save_charge_results()
S
71 1 6
log_error()
S
67 1 8
get_stripe_customer_object()
S
72 1 5