WC_Stripe_Payment_Intent D

Total Complexity 158
Dependencies 11
Dependents 1
Total lines 733
Lines of code 512
Logical lines of code 307
Comment lines 136
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
should_retry_payment()
B
35 22 84
scheduled_subscription_payment()
B
36 22 77
process_payment()
B
37 19 69
get_payment_intent_args()
B
41 20 51
add_level3_order_data()
B
37 18 67
can_use_payment_intent()
B
46 17 34
can_update_payment_intent()
A
44 15 40
capture_charge()
S
55 7 18
void_charge()
S
55 5 19
process_pre_order_payment()
S
50 4 28
post_payment_process_error_handling()
S
68 3 7
add_order_payment_method()
S
71 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