WC_Cardinity_Gateway D

Total Complexity 179
Dependencies 12
Dependents 3
Total lines 1,352
Lines of code 923
Logical lines of code 510
Comment lines 164
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
getPaymentParams()
C
30 29 107
check_response_direct()
C
30 26 122
sendCardinityRequest()
A
37 12 73
check_response_external()
A
42 11 48
admin_options()
A
41 10 61
process_direct_payment()
A
43 8 46
getRecurringPaymentParams()
A
45 7 44
isCreditCardNumber()
A
50 8 27
validate_fields()
A
54 8 19
isCorrectExpireDate()
S
53 7 22
get_cardinity_order()
S
52 6 24
process_external_payment()
S
43 4 48
payment_fields()
S
47 3 42
process_subscription_payment()
S
52 4 23
__construct()
S
47 3 34
add_transaction_history()
S
56 4 17
log()
S
63 4 11
receipt_page()
S
50 2 34
do_ssl_check()
S
61 3 12
generate_threed_form()
S
55 2 18
generate_threed_v2_form()
S
56 2 17
check_response()
S
68 3 7
process_payment()
S
68 3 7
notify_response()
S
59 2 14
isCreditCardHolderName()
S
67 2 8
generate_screen_button_html()
S
61 1 15
init_form_fields()
S
64 2 10
is_using_checkout_block()
S
70 2 6
getCardinityClient()
S
68 1 7