WC_Stripe_Intent_Controller D

Total Complexity 156
Dependencies 14
Dependents 2
Total lines 1,158
Lines of code 734
Logical lines of code 357
Comment lines 270
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
create_setup_intent()
B
36 16 79
verify_intent()
A
41 15 52
update_failed_order_ajax()
A
42 15 45
update_order_status_ajax()
A
43 10 47
update_payment_intent()
A
42 9 54
create_and_confirm_payment_intent()
A
41 7 62
update_payment_intent_ajax()
A
50 9 25
confirm_change_payment_from_setup_intent_ajax()
A
46 8 37
create_and_confirm_setup_intent_ajax()
A
42 7 50
validate_payment_intent_required_params()
A
49 8 35
create_payment_intent_ajax()
S
51 7 25
create_and_confirm_setup_intent()
S
51 6 26
get_order_from_request()
S
58 6 14
create_payment_intent()
S
50 5 27
build_base_payment_intent_request_params()
S
55 5 19
init_setup_intent()
S
52 3 26
init_setup_intent_ajax()
S
57 3 17
is_mandate_data_required()
S
68 3 6
update_and_confirm_payment_intent()
S
52 1 28
request_needs_redirection()
S
75 2 3
maybe_process_upe_redirect()
S
68 2 7
get_gateway()
S
69 2 7
handle_error()
S
65 2 9
get_upe_gateway()
S
66 2 8
add_mandate_data()
S
62 1 12
init_hooks()
S
62 1 11
is_delayed_confirmation_required()
S
77 1 3