WC_Gateway_PayzenStd D

Total Complexity 341
Dependencies 11
Dependents 3
Total lines 2,467
Lines of code 1,891
Logical lines of code 834
Comment lines 170
Methods 47
Properties 3

Methods 47

Method Rating Maintainability Complexity Lines of code
get_payment_fields()
D
17
26 407
payzen_fill_request()
D
28
32 109
get_temporary_form_token()
C
37 24 62
get_form_token()
B
30 19 115
rest_payment_fields_view()
B
33 16 114
generate_placeholder_table_html()
B
36 17 74
payzen_rest_head_script()
B
39 16 66
payzen_manage_rest_notify_response()
B
39 16 59
payment_by_alias_view()
A
36 13 76
process_payment()
A
47 13 31
send_shipping_data()
A
45 12 39
init_form_fields()
A
30 4 157
to_gateway_category()
A
51 10 25
is_available()
A
53 10 23
payzen_generate_iframe_form()
A
46 7 37
get_smartform_cards()
A
56 8 17
can_use_alias()
S
59 8 13
payzen_admin_head_script()
S
39 1 107
is_available_for_subscriptions()
S
59 6 13
get_rest_fields()
S
40 2 68
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
payzen_refresh_form_token()
S
56 4 17
__construct()
S
48 3 31
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
get_description()
S
67 4 7
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_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