WC_Stripe_Gateway A

Total Complexity 61
Dependencies 8
Dependents 20
Total lines 421
Lines of code 188
Logical lines of code 76
Comment lines 174
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
get_error_message()
A
48 13 32
get_api_options()
S
67 4 7
__construct()
S
64 3 10
get_wp_error()
S
66 2 8
fetch_customers()
S
78 1 3
create_payment_method()
S
79 1 3
fetch_payment_source()
S
78 1 3
create_customer_source()
S
77 1 3
create_source()
S
79 1 3
update_source()
S
78 1 3
fetch_customer()
S
78 1 3
fetch_domains()
S
78 1 3
fetch_payment_methods()
S
67 1 9
register_domain()
S
78 1 3
delete_payment_method()
S
78 1 3
delete_domain()
S
78 1 3
webhooks()
S
78 1 3
create_webhook()
S
67 1 9
update_webhook()
S
78 1 3
fetch_webhook()
S
78 1 3
delete_card()
S
78 1 3
fetch_payment_method()
S
78 1 3
init()
S
77 1 3
update_payment_intent()
S
78 1 3
__get()
S
79 1 3
load()
S
74 1 4
set_mode()
S
81 1 3
create_customer()
S
78 1 3
update_customer()
S
78 1 3
charge()
S
79 1 3
create_payment_intent()
S
79 1 3
create_setup_intent()
S
79 1 3
confirm_payment_intent()
S
78 1 3
attach_payment_method()
S
78 1 3
fetch_payment_intent()
S
78 1 3
capture_payment_intent()
S
78 1 3
cancel_payment_intent()
S
78 1 3
fetch_setup_intent()
S
78 1 3
capture()
S
78 1 3
get_charge()
S
78 1 3
refund()
S
79 1 3
get_payment_method()
S
78 1 3
mode()
S
77 1 4