Alma_WC_Payment_Gateway D

Total Complexity 131
Dependencies 14
Dependents 2
Total lines 1,020
Lines of code 639
Logical lines of code 333
Comment lines 262
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
render_plan()
A
45 9 47
sync_fee_plans_settings()
A
52 10 22
cart_contains_excluded_category()
A
55 8 20
is_available()
S
57 7 18
should_display_plan()
S
55 6 20
payment_fields()
S
49 5 34
render_payments_timeline()
S
45 3 61
render_payment_plan()
S
52 5 28
process_payment()
S
50 4 30
payment_field()
S
50 4 30
disable_unavailable_fee_plans_config()
S
59 5 13
generate_text_alma_i18n_html()
S
46 3 40
validate_fields()
S
56 4 19
validate_payment_on_customer_return()
S
57 4 17
get_fee_plan_definition()
S
58 4 16
woocommerce_available_payment_gateways()
S
61 4 13
convert_amounts_to_cents()
S
60 4 13
is_cart_eligible()
S
63 4 11
update_settings_from_merchant()
S
59 3 16
build_new_available_gateways()
S
61 3 14
generate_title_html()
S
53 2 23
reset_merchant_settings()
S
67 3 8
is_there_available_plan_for_this_gateway()
S
67 3 8
render_pnx_plan()
S
64 3 8
get_default_plan()
S
66 3 9
generate_select_alma_fee_plan_html()
S
60 1 17
__construct()
S
56 1 17
get_plan_upon_trigger_display_text()
S
69 2 6
get_option()
S
68 2 7
validate_payment_from_ipn()
S
65 2 9
process_admin_options()
S
66 2 8
woocommerce_checkout_process()
S
73 2 5
render_pay_later_plan()
S
64 1 10
redirect_to_cart_with_error()
S
71 1 6
is_amount_plan_key()
S
79 1 3
init_settings()
S
74 1 5
init_form_fields()
S
80 1 3
get_icon()
S
70 1 5