WC_Gateway_PayzenStd D

Total Complexity 232
Dependencies 11
Dependents 2
Total lines 1,938
Lines of code 1,474
Logical lines of code 610
Comment lines 150
Methods 40
Properties 2

Methods 40

Method Rating Maintainability Complexity Lines of code
payzen_fill_request()
C
30 27 103
payment_fields()
C
25
14 224
generate_placeholder_table_html()
B
36 17 74
get_form_token()
B
33 14 90
payzen_rest_head_script()
A
41 13 55
payment_by_alias_view()
A
37 11 78
payzen_manage_rest_notify_response()
A
41 12 54
init_form_fields()
A
30 3 151
get_temporary_form_token()
A
44 10 39
to_gateway_category()
A
51 10 25
rest_payment_fields_view()
A
39 4 101
is_available()
A
54 9 21
process_payment()
S
51 6 24
payzen_admin_head_script()
S
41 1 91
is_available_for_subscriptions()
S
59 6 13
can_use_alias()
S
63 6 9
validate_rest_attempts_field()
S
63 6 9
is_available_for_country()
S
60 5 12
payzen_generate_iframe_form()
S
48 3 33
get_rest_fields()
S
45 2 48
get_product_top_level_category()
S
56 4 18
filter_allowed_countries()
S
60 4 14
validate_amount_min_field()
S
62 4 11
validate_amount_max_field()
S
62 4 11
__construct()
S
50 3 25
send_cart_data()
S
56 3 18
payzen_refresh_form_token()
S
56 3 17
payzen_generate_form()
S
49 2 30
get_title()
S
65 4 8
get_shipping_with_tax()
S
62 3 12
get_supported_card_types()
S
67 3 7
validate_rest_placeholder_field()
S
71 3 5
get_icon()
S
63 3 10
get_escaped_var()
S
69 2 7
is_supported_currency()
S
70 2 6
get_description()
S
68 2 8
load_by_ajax_call()
S
79 1 3
save_selected_card()
S
74 1 4
payzen_rest_return_response()
S
81 1 3
payzen_rest_notify_response()
S
81 1 3