WC_Stripe_Utils A

Total Complexity 64
Dependencies 4
Dependents 12
Total lines 255
Lines of code 177
Logical lines of code 94
Comment lines 43
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
add_balance_transaction_to_order()
A
50 11 24
update_balance_transaction()
S
56 8 15
save_payment_intent_to_session()
S
58 7 14
is_intent_type()
S
62 6 11
get_order_from_payment_intent()
S
57 5 16
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
delete_payment_intent_to_session()
S
73 2 5
get_payment_balance()
S
80 1 3
sanitize_statement_descriptor()
S
76 1 3
sanitize_intent()
S
81 1 3
display_net()
S
78 1 3
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_fee()
S
78 1 3