WC_Stripe_Gateway A

Total Complexity 66
Dependencies 10
Dependents 24
Total lines 433
Lines of code 200
Logical lines of code 83
Comment lines 173
Methods 44
Properties 4

Methods 44

Method Rating Maintainability Complexity Lines of code
get_error_message()
A
48 13 32
mode()
S
61 5 12
get_api_options()
S
65 4 8
__construct()
S
64 3 10
get_wp_error()
S
66 2 8
load()
S
74 1 4
register_domain()
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_customers()
S
78 1 3
fetch_payment_methods()
S
67 1 9
delete_domain()
S
78 1 3
fetch_domains()
S
78 1 3
create_payment_method()
S
79 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
__get()
S
79 1 3
init()
S
77 1 3
fetch_payment_source()
S
78 1 3
delete_card()
S
78 1 3
set_mode()
S
81 1 3
fetch_payment_intent()
S
78 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
update_payment_intent()
S
78 1 3
confirm_payment_intent()
S
78 1 3
capture_payment_intent()
S
78 1 3
delete_payment_method()
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
attach_payment_method()
S
78 1 3
get_client_config()
S
78 1 3
fetch_payment_method()
S
78 1 3