WC_Gateway_Redsys C

Total Complexity 123
Dependencies 4
Dependents 2
Total lines 1,447
Lines of code 1,321
Logical lines of code 513
Comment lines 90
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
get_redsys_args()
D
15
24 331
ask_for_refund()
D
16
14 353
successful_request()
C
30 22 119
process_refund()
B
38 17 71
check_ipn_request_is_valid()
B
41 15 62
generate_redsys_form()
A
38 8 86
init_form_fields()
A
31 1 146
__construct()
S
42 3 50
admin_options()
S
51 3 31
check_redsys_refund()
S
57 3 17
warning_checkout_test_mode()
S
60 3 16
admin_notice_mcrypt_encrypt()
S
63 3 9
check_ipn_response()
S
64 2 10
is_valid_for_use()
S
62 2 5
get_redsys_order()
S
77 1 4
process_payment()
S
69 1 7
receipt_page()
S
75 1 4