Code Analysis: Eway Payments for Woo 3.4.2

Function Rating Maintainability Complexity Lines of code
WC_Gateway_EWAY::response_listener()
B
39 16 60
WC_Gateway_EWAY::process_refund()
A
45 16 36
WC_Gateway_EWAY::response_message_lookup()
A
28
2 148
WC_Gateway_EWAY_Subscriptions::maybe_update_all_subscriptions_payment()
A
54 10 23
WC_Gateway_EWAY::get_customer_payment_tokens()
A
47 9 34
WC_Gateway_EWAY::process_payment_request()
A
47 9 32
WC_Gateway_EWAY::process_payment()
A
45 7 41
WC_Gateway_EWAY::payment_fields()
S
50 7 29
WC_Gateway_EWAY::validate_checkout_values()
S
47 6 36
WC_Payment_Token_Eway_CC::validate()
S
56 7 21
WC_Gateway_EWAY_Subscriptions::maybe_render_subscription_payment_method()
S
54 7 19
WC_Gateway_EWAY::request_access_code()
S
58 7 14
WC_Gateway_EWAY::__construct()
S
45 5 41
WC_Gateway_EWAY_Blocks_Support::get_payment_method_script_handles()
S
52 6 26
woocommerce_eway_init()
S
51 6 25
WC_Gateway_EWAY_Privacy::maybe_handle_subscription()
S
52 6 23
WC_Gateway_EWAY_Subscriptions::request_access_code()
S
56 6 16
WC_Gateway_EWAY_Subscriptions::maybe_update_payment_method()
S
58 6 16
WC_Gateway_EWAY_Subscriptions::validate_subscription_payment_meta()
S
61 6 11
WC_Gateway_EWAY::init_form_fields()
S
38 1 86
WC_EWAY_API::request_access_code()
S
43 3 48
WC_Gateway_EWAY_Privacy::subscriptions_data_exporter()
S
45 3 45
WC_EWAY_API::perform_request()
S
50 3 27
WC_Gateway_EWAY::get_icon()
S
61 4 11
WC_Gateway_EWAY_Blocks_Support::add_eway_saved_payment_methods()
S
51 3 26
WC_Gateway_EWAY_Privacy::order_data_exporter()
S
52 3 26
WC_EWAY_API::direct_payment()
S
46 2 39
WC_EWAY_API::perform_get_request()
S
52 3 23
WC_Gateway_EWAY::print_receipt_page_css()
S
56 3 17
WC_Gateway_EWAY::enqueue_scripts()
S
57 3 16
WC_EWAY_API::debug_message()
S
71 4 5
WC_Gateway_EWAY::receipt_page()
S
51 2 26
WC_Gateway_EWAY::plugin_url()
S
62 3 11
WC_Gateway_EWAY_Subscriptions::process_subscription_payment()
S
62 3 11
WC_Gateway_EWAY_Privacy::order_data_eraser()
S
53 2 24
WC_Gateway_EWAY_Blocks_Support::get_payment_method_data()
S
58 2 18
woocommerce_eway_add_gateway()
S
67 3 8
WC_Gateway_EWAY_Subscriptions::get_subscriptions_from_order()
S
67 3 9
WC_Gateway_EWAY_Subscriptions::set_token_customer_id()
S
65 3 9
WC_Gateway_EWAY::log()
S
67 3 8
WC_Gateway_EWAY::is_available()
S
68 3 7
WC_Gateway_EWAY::get_api()
S
66 3 8
WC_Gateway_EWAY_Privacy::get_eway_orders()
S
59 2 14
woocommerce_eway_woocommerce_blocks_support()
S
64 2 11
WC_Gateway_EWAY::needs_setup()
S
78 2 3
wc_eway_get_saved_payment_methods_list()
S
65 2 8
WC_EWAY_API::__construct()
S
70 2 6
WC_Gateway_EWAY_Blocks_Support::initialize()
S
60 1 15
WC_Gateway_EWAY_Subscriptions::scheduled_subscription_payment()
S
69 2 6
WC_Gateway_EWAY_Subscriptions::get_token_customer_id()
S
66 2 8
WC_Gateway_EWAY_Privacy::maybe_handle_order()
S
65 2 9
WC_Gateway_EWAY_Subscriptions::order_contains_subscription()
S
78 2 3
WC_Gateway_EWAY_Subscriptions::is_subscription()
S
69 2 7
WC_Gateway_EWAY::admin_options()
S
65 2 8
WC_Gateway_EWAY_Blocks_Support::get_show_saved_cards()
S
77 2 3
WC_Gateway_EWAY_Privacy::__construct()
S
65 2 8
WC_EWAY_API::direct_refund()
S
59 1 14
WC_Gateway_EWAY::get_all_payment_icons()
S
60 1 13
WC_Gateway_EWAY_Subscriptions::add_subscription_payment_meta()
S
63 1 11
WC_Payment_Token_Eway_CC::get_display_name()
S
66 1 9
WC_Gateway_EWAY_Blocks_Support::is_active()
S
73 1 5
WC_EWAY_API::get_invoice_reference()
S
75 1 4
WC_Payment_Token_Eway_CC::get_expiry_month()
S
79 1 3
WC_Gateway_EWAY_Privacy::get_privacy_message()
S
78 1 3
woocommerce_eway_outdated_wcs_notice()
S
72 1 5
WC_EWAY_API::get_access_code_result()
S
70 1 6
WC_Gateway_EWAY::get_token_customer_id()
S
79 1 3
WC_Payment_Token_Eway_CC::set_expiry_year()
S
80 1 3
WC_Gateway_EWAY::get_setup_help_text()
S
72 1 6
WC_Gateway_EWAY::set_token_customer_id()
S
79 1 3
WC_Payment_Token_Eway_CC::set_number()
S
80 1 3
WC_Payment_Token_Eway_CC::get_number()
S
79 1 3
WC_Gateway_EWAY_Subscriptions::__construct()
S
62 1 10
woocommerce_eway_plugin_action_links()
S
68 1 7
woocommerce_eway_outdated_wc_notice()
S
72 1 5
WC_Gateway_EWAY_Subscriptions::update_failing_payment_method()
S
74 1 4
WC_Payment_Token_Eway_CC::get_hook_prefix()
S
82 1 3
WC_Payment_Token_Eway_CC::set_expiry_month()
S
78 1 3
WC_Gateway_EWAY_Blocks_Support::get_supported_features()
S
76 1 4
WC_Gateway_EWAY::get_required_settings_keys()
S
73 1 6
WC_EWAY_API::lookup_customer()
S
79 1 3
WC_Gateway_EWAY_Blocks_Support::get_saved_cards()
S
79 1 3
WC_Payment_Token_Eway_CC::get_expiry_year()
S
79 1 3