SPC_Payment_Method_Stripe D

Total Complexity 140
Dependencies 7
Dependents 0
Total lines 848
Lines of code 631
Logical lines of code 317
Comment lines 59
Methods 37
Properties 9

Methods 37

Method Rating Maintainability Complexity Lines of code
setup_payment_intent()
C
34 24 92
init_order()
A
40 9 67
webhooks()
A
47 8 37
stripe_connect_return()
A
51 8 25
stripe_disconnect_return()
S
49 7 29
process_refund()
S
46 6 39
create_order()
S
50 6 28
options()
S
45 4 46
enqueue_scripts()
S
54 5 20
get_transaction_url()
S
61 5 12
checkout_validation()
S
66 5 7
init()
S
50 3 27
setup()
S
61 4 11
stripe_connect_display()
S
57 3 17
get_application_fee_amount()
S
57 3 17
get_order_by_payment_intent()
S
58 2 17
get_fields()
S
59 2 16
get_account_id()
S
76 3 3
mode()
S
70 3 6
get_secret_key()
S
76 3 3
get_publishable_key()
S
76 3 3
init_setup()
S
69 3 7
admin_order_tab_content_stripe()
S
59 2 13
order_actions_options()
S
57 1 26
order_notify()
S
71 2 6
order_actions()
S
68 2 7
admin_order_tab()
S
70 2 6
is_allowed()
S
68 2 7
create_order_status()
S
71 2 6
get_mode()
S
80 1 3
get_webhook_url()
S
65 1 10
get_transaction_id()
S
80 1 3
get_payment_intent_id()
S
82 1 3
get_application_fee_percent()
S
79 1 3
set_stripe_customer_id()
S
80 1 3
get_client_secret()
S
82 1 3
get_stripe_customer_id()
S
81 1 3