WC_Stripe_Utils A

Total Complexity 68
Dependencies 5
Dependents 11
Total lines 283
Lines of code 202
Logical lines of code 101
Comment lines 44
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
add_balance_transaction_to_order()
A
50 11 24
get_order_from_payment_intent()
A
48 7 33
update_balance_transaction()
S
56 8 15
save_payment_intent_to_session()
S
58 7 14
is_intent_type()
S
62 6 11
validate_account_access()
S
49 4 30
display_amount()
S
60 5 12
is_intent_mode_equal()
S
63 4 11
get_payment_intent_from_session()
S
63 3 11
get_order_from_charge()
S
66 2 8
delete_payment_intent_to_session()
S
73 2 5
redirect_url_has_hash()
S
79 1 3
parse_url_hash()
S
74 1 4
is_setup_intent()
S
78 1 3
is_payment_intent()
S
78 1 3
display_net()
S
78 1 3
sanitize_intent()
S
81 1 3
sanitize_statement_descriptor()
S
76 1 3
get_payment_balance()
S
80 1 3
display_fee()
S
78 1 3