WC_Gateway_EWAY D

Total Complexity 137
Dependencies 14
Dependents 3
Total lines 1,366
Lines of code 828
Logical lines of code 328
Comment lines 360
Methods 34
Properties 5

Methods 34

Method Rating Maintainability Complexity Lines of code
process_payment()
B
34 20 94
process_refund()
A
45 12 40
get_customer_payment_tokens()
A
46 9 38
add_payment_method()
A
43 7 52
preserve_customer_token()
A
47 8 37
validate_checkout_values()
S
47 6 39
__construct()
S
42 5 53
request_access_code()
S
58 7 14
payment_fields()
S
52 6 26
init_form_fields()
S
36 1 99
enqueue_scripts()
S
43 3 56
response_listener()
S
49 4 31
validate_fields()
S
63 5 10
get_icon()
S
59 4 15
can_save_eway_customer_token()
S
63 4 12
handle_eway_payment_response()
S
52 3 24
receipt_page()
S
49 2 32
print_receipt_page_css()
S
56 3 17
plugin_url()
S
59 3 15
get_api()
S
61 3 13
is_available()
S
68 3 7
process_payment_request()
S
58 2 15
log()
S
67 3 8
process_payment_with_secure_fields()
S
60 2 13
admin_options()
S
61 2 13
needs_setup()
S
78 2 3
get_all_payment_icons()
S
60 1 13
add_new_customer_token()
S
63 1 11
response_message_lookup()
S
80 1 3
set_token_customer_id()
S
76 1 4
get_required_settings_keys()
S
73 1 6
get_setup_help_text()
S
68 1 9
get_token_customer_id()
S
79 1 3
is_eway_secure_fields_enabled()
S
80 1 3