WC_Gateway_PayzenStd D

Total Complexity 320
Dependencies 11
Dependents 3
Total lines 2,415
Lines of code 1,857
Logical lines of code 805
Comment lines 167
Methods 47
Properties 3

Methods 47

Method Rating Maintainability Complexity Lines of code
get_payment_fields()
D
17
26 406
payzen_fill_request()
D
29
31 108
get_form_token()
B
30 19 115
rest_payment_fields_view()
B
33 16 111
generate_placeholder_table_html()
B
36 17 74
payzen_rest_head_script()
B
39 15 64
get_temporary_form_token()
A
40 15 50
payment_by_alias_view()
A
36 13 76
payzen_manage_rest_notify_response()
A
41 13 55
send_shipping_data()
A
45 12 39
is_available()
A
52 12 23
init_form_fields()
A
30 3 155
to_gateway_category()
A
51 10 25
process_payment()
A
49 8 26
get_smartform_cards()
A
56 8 17
can_use_alias()
S
59 8 13
payzen_admin_head_script()
S
39 1 107
__construct()
S
47 5 33
is_available_for_subscriptions()
S
59 6 13
get_rest_fields()
S
40 2 68
payzen_generate_iframe_form()
S
48 4 31
validate_rest_attempts_field()
S
63 6 9
is_available_for_country()
S
60 5 12
to_gateway_carrier()
S
62 5 11
get_product_top_level_category()
S
56 4 18
filter_allowed_countries()
S
60 4 14
validate_amount_max_field()
S
62 4 11
validate_amount_min_field()
S
62 4 11
send_cart_data()
S
56 3 18
payzen_refresh_form_token()
S
56 3 17
get_title()
S
65 4 8
get_shipping_with_tax()
S
62 3 12
payzen_generate_form()
S
51 2 24
get_total_amount()
S
65 3 9
validate_rest_placeholder_field()
S
71 3 5
get_supported_card_types()
S
67 3 7
get_description()
S
67 3 7
get_icon()
S
63 3 10
save_selected_card()
S
73 2 4
process_order_payment()
S
64 2 10
get_escaped_var()
S
69 2 7
is_supported_currency()
S
70 2 6
order_created_from_bo()
S
70 2 6
payment_fields()
S
81 1 3
payzen_rest_return_response()
S
81 1 3
payzen_rest_notify_response()
S
81 1 3
load_by_ajax_call()
S
79 1 3