WC_Stripe_Intent_Controller D

Total Complexity 155
Dependencies 13
Dependents 2
Total lines 1,146
Lines of code 728
Logical lines of code 353
Comment lines 266
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
update_payment_intent_ajax()
A
50 9 25
confirm_change_payment_from_setup_intent_ajax()
A
46 8 37
validate_payment_intent_required_params()
A
49 8 35
create_and_confirm_payment_intent()
A
41 6 61
create_and_confirm_setup_intent_ajax()
A
43 6 47
create_payment_intent_ajax()
S
51 7 25
get_order_from_request()
S
58 6 14
create_payment_intent()
S
50 5 27
create_and_confirm_setup_intent()
S
55 4 20
build_base_payment_intent_request_params()
S
55 4 20
is_mandate_data_required()
S
64 5 9
init_setup_intent()
S
52 3 26
init_setup_intent_ajax()
S
57 3 17
is_delayed_confirmation_required()
S
77 3 3
update_and_confirm_payment_intent()
S
52 1 28
request_needs_redirection()
S
76 2 3
maybe_process_upe_redirect()
S
68 2 7
handle_error()
S
65 2 9
get_gateway()
S
69 2 7
get_upe_gateway()
S
66 2 8
add_mandate_data()
S
62 1 12
init_hooks()
S
62 1 11