WC_Payment_Gateway_Stripe_Afterpay S

Total Complexity 45
Dependencies 0
Dependents 0
Total lines 571
Lines of code 502
Logical lines of code 94
Comment lines 28
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_local_payment_settings()
B
23
2 315
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
__construct()
S
60 1 12
enqueue_category_scripts()
S
62 1 11
get_required_parameters()
S
63 1 10
init_supports()
S
71 1 6
get_icon()
S
82 1 3
enqueue_cart_scripts()
S
70 1 6
get_supported_locales()
S
76 1 3
mini_cart_fields()
S
81 1 3
cart_fields()
S
77 1 4
get_payment_token()
S
72 1 5
get_order_button_text()
S
79 1 3
product_fields()
S
77 1 4
enqueue_product_scripts()
S
70 1 6