WC_Gateway_PayzenStd D

Total Complexity 407
Dependencies 12
Dependents 3
Total lines 2,756
Lines of code 2,102
Logical lines of code 946
Comment lines 191
Methods 55
Properties 3

Methods 55

Method Rating Maintainability Complexity Lines of code
get_payment_fields()
D
15
33 420
payzen_fill_request()
D
28
32 109
get_temporary_form_token()
C
37 27 60
get_form_token()
C
30 23 114
rest_payment_fields_view()
C
29 21 141
generate_placeholder_table_html()
B
36 17 74
payzen_rest_head_script()
B
38 16 67
payzen_manage_rest_notify_response()
B
40 16 56
payment_by_alias_view()
B
36 14 79
init_form_fields()
A
29
4 169
send_shipping_data()
A
45 12 39
process_payment()
A
47 12 31
is_available()
A
52 11 26
remove_payzen_payment_method()
A
52 10 25
to_gateway_category()
A
51 10 25
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 116
process_refund()
S
54 7 19
show_add_payment_method_link()
S
59 7 13
create_form_token()
S
52 6 22
is_available_for_subscriptions()
S
59 6 13
get_rest_fields()
S
40 2 68
validate_rest_attempts_field()
S
63 6 9
get_account_token()
S
49 4 29
is_available_for_country()
S
60 5 12
to_gateway_carrier()
S
62 5 11
__construct()
S
45 3 37
get_product_top_level_category()
S
56 4 18
payzen_refresh_form_token()
S
56 4 17
filter_allowed_countries()
S
60 4 14
use_wallet()
S
61 4 13
validate_amount_min_field()
S
62 4 11
validate_amount_max_field()
S
62 4 11
send_cart_data()
S
53 3 21
get_title()
S
65 4 8
get_description()
S
68 4 7
is_embedded_payment()
S
64 4 10
get_shipping_with_tax()
S
62 3 12
payzen_generate_form()
S
51 2 24
get_supported_card_types()
S
67 3 7
load_embedded_form()
S
71 3 6
validate_rest_placeholder_field()
S
71 3 5
get_total_amount()
S
65 3 9
get_icon()
S
63 3 10
is_supported_currency()
S
70 2 6
save_selected_card()
S
73 2 4
process_order_payment()
S
64 2 10
order_created_from_bo()
S
70 2 6
payment_fields()
S
72 2 6
get_escaped_var()
S
69 2 7
payzen_rest_return_response()
S
81 1 3
payzen_rest_notify_response()
S
81 1 3
load_by_ajax_call()
S
79 1 3