WC_Gateway_Redsys_Global_lite D

Total Complexity 158
Dependencies 3
Dependents 1
Total lines 869
Lines of code 672
Logical lines of code 437
Comment lines 139
Methods 49
Properties 0

Methods 49

Method Rating Maintainability Complexity Lines of code
get_redsys_users_token()
A
48 10 38
is_paid()
A
46 9 42
get_users_token_bulk()
A
49 9 36
get_lang_code()
A
46 8 41
is_redsys_order()
S
52 7 28
product_description()
S
52 6 24
get_response_by_code()
S
56 6 20
get_error_by_code()
S
56 6 20
get_msg_error_by_code()
S
56 6 20
check_type_exist_in_tokens()
S
57 5 18
get_error_type()
S
61 5 14
get_error()
S
61 5 14
is_redsys_error()
S
61 5 14
check_if_token_is_valid()
S
55 4 21
is_msg_error()
S
59 4 15
is_ds_error()
S
59 4 15
is_ds_response()
S
60 4 14
clean_data()
S
44 1 49
get_order_meta()
S
60 3 14
get_redsys_option()
S
60 3 14
get_token_type()
S
63 3 11
get_txnid()
S
63 3 11
update_order_meta()
S
55 2 21
set_token_type()
S
73 3 5
debug()
S
70 3 6
get_order_mumber()
S
69 2 7
get_order_date()
S
68 2 7
get_order_hour()
S
68 2 7
get_order_auth()
S
69 2 7
get_gateway()
S
65 2 10
get_psd2_arg()
S
69 2 7
post_exist()
S
68 2 8
order_exist()
S
69 2 7
set_txnid()
S
73 2 5
is_gateway_enabled()
S
67 2 8
clean_order_number()
S
78 1 3
prepare_order_number()
S
68 1 6
redsys_amount_format()
S
75 1 4
__construct()
S
80 1 3
get_status_pending()
S
70 1 6
get_orders_type()
S
71 1 6
get_redsys_wp_languages()
S
71 1 6
get_redsys_languages()
S
71 1 6
get_currencies()
S
71 1 6
get_msg_error()
S
71 1 6
get_ds_response()
S
71 1 6
get_ds_error()
S
71 1 6
get_order()
S
76 1 4
allowed_currencies()
S
71 1 6