WC_Gateway_Redsys D

Total Complexity 130
Dependencies 4
Dependents 3
Total lines 1,315
Lines of code 964
Logical lines of code 537
Comment lines 289
Methods 17
Properties 32

Methods 17

Method Rating Maintainability Complexity Lines of code
get_redsys_args()
C
28
28 131
successful_request()
C
29
25 128
ask_for_refund()
B
29 14 139
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 53
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_order()
S
76 1 4
process_payment()
S
68 1 7