WC_Cardinity_Gateway D

Total Complexity 163
Dependencies 11
Dependents 1
Total lines 1,307
Lines of code 869
Logical lines of code 472
Comment lines 165
Methods 29
Properties 9

Methods 29

Method Rating Maintainability Complexity Lines of code
check_response_direct()
C
30 26 117
getPaymentParams()
B
33 21 91
sendCardinityRequest()
A
37 12 73
admin_options()
A
41 10 60
process_direct_payment()
A
44 8 43
isCreditCardNumber()
A
50 8 27
check_response_external()
A
47 7 35
__construct()
S
45 6 42
isCorrectExpireDate()
S
53 7 22
validate_fields()
S
55 7 19
get_cardinity_order()
S
52 6 24
payment_fields()
S
43 3 59
getRecurringPaymentParams()
S
49 4 32
process_subscription_payment()
S
52 4 23
add_transaction_history()
S
56 4 17
is_valid_for_admin()
S
57 4 17
log()
S
63 4 11
process_external_payment()
S
48 2 33
receipt_page()
S
55 2 22
generate_threed_form()
S
55 2 18
generate_threed_v2_form()
S
56 2 17
do_ssl_check()
S
66 3 8
check_response()
S
69 2 7
process_payment()
S
69 2 7
init_form_fields()
S
64 2 10
isCreditCardHolderName()
S
69 2 7
generate_screen_button_html()
S
62 1 15
getCardinityClient()
S
68 1 7
is_valid_for_use()
S
71 1 6