WC_Gateway_PayzenStd D

Total Complexity 264
Dependencies 11
Dependents 4
Total lines 2,141
Lines of code 1,634
Logical lines of code 686
Comment lines 156
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
payment_fields()
C
22
17 290
payzen_fill_request()
C
30 27 103
generate_placeholder_table_html()
B
36 17 74
get_form_token()
B
33 15 94
payment_by_alias_view()
A
36 12 82
payzen_rest_head_script()
A
41 13 55
payzen_manage_rest_notify_response()
A
41 12 54
send_shipping_data()
A
45 11 39
rest_payment_fields_view()
A
37 6 110
init_form_fields()
A
30 3 153
get_temporary_form_token()
A
44 10 39
to_gateway_category()
A
51 10 25
is_available()
A
55 9 20
process_payment()
S
51 6 24
payzen_admin_head_script()
S
41 1 94
can_use_alias()
S
63 7 9
is_available_for_subscriptions()
S
59 6 13
__construct()
S
49 5 28
payzen_generate_iframe_form()
S
47 4 37
validate_rest_attempts_field()
S
63 6 9
is_available_for_country()
S
60 5 12
to_gateway_carrier()
S
62 5 11
get_rest_fields()
S
44 2 49
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
payzen_generate_form()
S
49 2 30
get_shipping_with_tax()
S
62 3 12
get_total_amount()
S
65 3 9
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
order_created_from_bo()
S
70 2 6
save_selected_card()
S
74 1 4
payzen_rest_return_response()
S
81 1 3
payzen_rest_notify_response()
S
81 1 3
load_by_ajax_call()
S
79 1 3