WC_Cardinity_Gateway D

Total Complexity 143
Dependencies 11
Dependents 1
Total lines 1,130
Lines of code 754
Logical lines of code 420
Comment lines 150
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
check_response_direct()
C
31 26 114
getPaymentParams()
B
34 17 84
sendCardinityRequest()
A
37 12 74
admin_options()
A
45 8 44
process_direct_payment()
A
44 8 43
isCreditCardNumber()
A
51 8 27
isCorrectExpireDate()
S
53 7 22
get_cardinity_order()
S
53 6 23
check_response_external()
S
51 5 26
__construct()
S
47 4 36
getRecurringPaymentParams()
S
49 4 31
validate_fields()
S
60 5 13
process_subscription_payment()
S
52 4 23
payment_fields()
S
54 3 28
log()
S
63 4 11
process_external_payment()
S
49 2 29
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
generate_screen_button_html()
S
62 1 15
add_transaction_history()
S
64 2 9
getCardinityClient()
S
68 1 7
is_valid_for_use()
S
71 1 6