WC_Stripe_Payment_Intent A

Total Complexity 55
Dependencies 1
Dependents 0
Total lines 337
Lines of code 215
Logical lines of code 114
Comment lines 73
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
process_payment()
A
42 12 51
get_payment_intent_args()
A
51 9 25
can_update_payment_intent()
S
51 6 28
can_use_payment_intent()
S
58 6 16
scheduled_subscription_payment()
S
51 5 27
process_pre_order_payment()
S
51 5 27
void_charge()
S
58 5 14
capture_charge()
S
57 3 15
add_order_payment_method()
S
71 2 6
get_payment_method_from_charge()
S
82 1 3
can_void_order()
S
80 1 3