WC_Gateway_Redsys D

Total Complexity 136
Dependencies 4
Dependents 2
Total lines 1,354
Lines of code 981
Logical lines of code 546
Comment lines 308
Methods 18
Properties 35

Methods 18

Method Rating Maintainability Complexity Lines of code
successful_request()
D
27
29 139
get_redsys_args()
C
28
28 130
ask_for_refund()
B
29 14 137
process_refund()
B
38 17 71
check_ipn_request_is_valid()
B
41 15 62
generate_redsys_form()
A
37 8 90
init_form_fields()
A
31 1 146
__construct()
S
41 3 55
admin_options()
S
45 3 51
check_redsys_refund()
S
57 3 17
warning_checkout_test_mode()
S
60 3 16
admin_notice_mcrypt_encrypt()
S
63 3 9
receipt_page()
S
54 1 23
check_ipn_response()
S
63 2 10
is_valid_for_use()
S
69 2 7
get_redsys_url_gateway_rest()
S
70 2 7
get_redsys_order()
S
76 1 4
process_payment()
S
68 1 7