Total Complexity | 27 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 301 |
Lines of code | 222 |
Logical lines of code | 74 |
Comment lines | 20 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_formatted_locale_from_order() | 48 | 10 | 35 | |
get_local_payment_settings() | 38 | 1 | 90 | |
validate_local_payment_available() | 61 | 5 | 12 | |
get_required_parameters() | 56 | 1 | 17 | |
__construct() | 56 | 1 | 13 | |
init_supports() | 71 | 1 | 6 | |
add_stripe_order_args() | 69 | 1 | 7 | |
enqueue_checkout_scripts() | 72 | 1 | 5 | |
enqueue_product_scripts() | 73 | 1 | 5 | |
enqueue_cart_scripts() | 70 | 1 | 6 | |
enqueue_category_scripts() | 64 | 1 | 10 | |
get_localized_params() | 67 | 1 | 8 | |
cart_fields() | 77 | 1 | 4 | |
product_fields() | 77 | 1 | 4 |