WC_Stripe_Payment_Intent B

Total Complexity 94
Dependencies 3
Dependents 0
Total lines 462
Lines of code 310
Logical lines of code 172
Comment lines 94
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
process_payment()
B
38 17 68
get_payment_intent_args()
B
43 18 42
can_use_payment_intent()
A
48 15 30
can_update_payment_intent()
A
48 10 32
should_retry_payment()
A
51 9 27
scheduled_subscription_payment()
S
49 5 31
void_charge()
S
58 5 14
process_pre_order_payment()
S
51 4 27
capture_charge()
S
57 3 15
add_order_payment_method()
S
71 2 6
post_payment_process_error_handling()
S
70 2 6
get_payment_method_from_charge()
S
82 1 3
can_void_order()
S
80 1 3
set_update_payment_intent()
S
81 1 3
destroy_session_data()
S
82 1 3