WC_Payment_Gateway_Stripe_Afterpay S

Total Complexity 36
Dependencies 0
Dependents 0
Total lines 406
Lines of code 358
Logical lines of code 75
Comment lines 15
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
get_local_payment_settings()
A
28
1 217
validate_local_payment_available()
S
58 7 14
get_afterpay_message_options()
S
54 5 20
get_payment_description()
S
58 4 16
enqueue_mini_cart_scripts()
S
65 2 8
get_title()
S
71 2 6
get_element_options()
S
66 2 8
get_localized_params()
S
63 2 10
__construct()
S
60 1 12
init_supports()
S
71 1 6
mini_cart_fields()
S
81 1 3
get_icon()
S
82 1 3
cart_fields()
S
77 1 4
get_supported_locales()
S
76 1 3
product_fields()
S
77 1 4
enqueue_cart_scripts()
S
70 1 6
enqueue_product_scripts()
S
70 1 6
get_order_button_text()
S
79 1 3
get_required_parameters()
S
64 1 9