WC_Payment_Gateway_Stripe_Affirm S

Total Complexity 20
Dependencies 0
Dependents 0
Total lines 383
Lines of code 333
Logical lines of code 48
Comment lines 21
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
get_local_payment_settings()
A
27
1 233
is_local_payment_available()
S
70 3 6
validate_local_payment_available()
S
64 3 9
__construct()
S
60 1 13
enqueue_category_scripts()
S
60 1 13
get_localized_params()
S
62 1 11
init_supports()
S
71 1 6
get_order_button_text()
S
79 1 3
get_payment_method_requirements()
S
71 1 6
cart_fields()
S
77 1 4
product_fields()
S
77 1 4
enqueue_checkout_scripts()
S
73 1 5
enqueue_cart_scripts()
S
71 1 6
enqueue_product_scripts()
S
73 1 5
get_icon()
S
82 1 3
get_payment_description()
S
68 1 6