WC_Payment_Gateway_Stripe_Afterpay S

Total Complexity 45
Dependencies 0
Dependents 0
Total lines 458
Lines of code 399
Logical lines of code 92
Comment lines 19
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
get_local_payment_settings()
A
27
2 222
validate_local_payment_available()
A
54 11 19
get_payment_description()
S
53 6 22
is_restricted_account_country()
S
62 3 12
get_afterpay_message_options()
S
56 2 17
add_stripe_order_args()
S
58 2 15
get_localized_params()
S
63 2 10
get_element_options()
S
66 2 8
enqueue_mini_cart_scripts()
S
65 2 8
get_title()
S
71 2 6
__construct()
S
60 1 12
get_icon()
S
82 1 3
enqueue_cart_scripts()
S
70 1 6
get_supported_locales()
S
76 1 3
init_supports()
S
71 1 6
get_required_parameters()
S
63 1 10
mini_cart_fields()
S
81 1 3
get_order_button_text()
S
79 1 3
cart_fields()
S
77 1 4
product_fields()
S
77 1 4
enqueue_product_scripts()
S
70 1 6