WC_Stripe_Intent_Controller D

Total Complexity 144
Dependencies 13
Dependents 2
Total lines 1,077
Lines of code 680
Logical lines of code 326
Comment lines 257
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
create_setup_intent()
B
37 16 78
update_failed_order_ajax()
A
42 16 45
verify_intent()
A
44 12 43
update_order_status_ajax()
A
43 10 47
update_payment_intent()
A
42 9 54
update_payment_intent_ajax()
A
50 9 25
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
update_and_confirm_payment_intent()
S
52 1 28
request_needs_redirection()
S
76 2 3
is_delayed_confirmation_required()
S
77 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
63 1 10