WC_Gateway_PayzenStd D

Total Complexity 402
Dependencies 12
Dependents 3
Total lines 2,588
Lines of code 1,951
Logical lines of code 907
Comment lines 184
Methods 56
Properties 3

Methods 56

Method Rating Maintainability Complexity Lines of code
get_payment_fields()
D
20
29 288
payzen_fill_request()
D
28
33 112
get_temporary_form_token()
C
37 28 62
get_form_token()
C
30 23 114
rest_payment_fields_view()
C
30 19 137
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
send_shipping_data()
A
45 12 39
process_payment()
A
47 11 31
init_form_fields()
A
30 2 162
is_available()
A
52 11 26
remove_payzen_payment_method()
A
52 10 25
to_gateway_category()
A
51 10 25
get_smartform_cards()
A
56 8 17
is_available_for_subscriptions()
A
57 8 16
can_use_alias()
S
59 8 13
process_refund()
S
54 7 19
payzen_admin_head_script()
S
40 1 108
show_add_payment_method_link()
S
59 7 13
create_form_token()
S
52 6 22
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
payzen_refresh_temporary_token()
S
58 3 14
get_shipping_with_tax()
S
62 3 12
save_selected_card()
S
62 3 11
payzen_generate_form()
S
50 2 25
get_supported_card_types()
S
67 3 7
load_embedded_form()
S
71 3 6
validate_rest_placeholder_field()
S
71 3 5
get_option()
S
68 3 7
get_icon()
S
63 3 10
get_total_amount()
S
65 3 9
payment_fields()
S
72 2 6
process_order_payment()
S
64 2 10
get_escaped_var()
S
69 2 7
order_created_from_bo()
S
70 2 6
is_supported_currency()
S
70 2 6
payzen_rest_notify_response()
S
81 1 3
payzen_rest_return_response()
S
81 1 3
load_by_ajax_call()
S
79 1 3