WC_Payment_Gateway_Stripe_Afterpay S

Total Complexity 43
Dependencies 0
Dependents 0
Total lines 630
Lines of code 499
Logical lines of code 92
Comment lines 86
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_local_payment_settings()
B
23
2 321
validate_local_payment_available()
A
54 11 19
get_payment_description()
S
53 6 22
get_afterpay_message_options()
S
56 2 17
add_stripe_order_args()
S
58 2 15
enqueue_mini_cart_scripts()
S
65 2 8
get_element_options()
S
66 2 8
get_localized_params()
S
63 2 10
__construct()
S
59 1 13
enqueue_category_scripts()
S
62 1 11
get_payment_token()
S
72 1 5
get_supported_locales()
S
76 1 3
get_required_parameters()
S
64 1 9
init_supports()
S
71 1 6
mini_cart_fields()
S
81 1 3
cart_fields()
S
77 1 4
product_fields()
S
77 1 4
enqueue_cart_scripts()
S
73 1 5
enqueue_product_scripts()
S
73 1 5
enqueue_checkout_scripts()
S
73 1 5
get_order_button_text()
S
79 1 3
is_restricted_account_country()
S
82 1 3