Code Analysis: Eway Payments for Woo 3.2.2

Function Rating Maintainability Complexity Lines of code
WC_Gateway_EWAY::response_listener()
B
37 18 69
WC_EWAY_API::request_access_code()
B
40 17 49
WC_Gateway_EWAY::process_refund()
A
45 16 37
WC_Gateway_EWAY_Saved_Cards::delete_card()
A
48 11 29
WC_Gateway_EWAY::process_payment_request()
A
47 10 32
WC_Gateway_EWAY_Subscriptions_Deprecated::process_subscription_payment()
A
50 10 28
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_Subscriptions_Deprecated::maybe_render_subscription_payment_method()
A
53 10 20
WC_Gateway_EWAY_Subscriptions::maybe_render_subscription_payment_method()
A
53 10 20
WC_Gateway_EWAY::process_payment()
A
45 7 41
WC_Gateway_EWAY::request_access_code()
S
57 8 14
WC_Gateway_EWAY::validate_checkout_values()
S
47 6 36
WC_Gateway_EWAY::payment_fields()
S
49 6 30
WC_Gateway_EWAY_Blocks_Support::get_payment_method_script_handles()
S
52 6 26
WC_EWAY_API::direct_payment()
S
45 5 40
WC_Gateway_EWAY_Privacy::maybe_handle_subscription()
S
52 6 23
WC_Gateway_EWAY_Subscriptions_Deprecated::request_access_code()
S
56 6 16
WC_Gateway_EWAY_Subscriptions::maybe_update_payment_method()
S
58 6 16
WC_Gateway_EWAY_Subscriptions::request_access_code()
S
56 6 16
WC_Gateway_EWAY::init_form_fields()
S
38 1 88
WC_Gateway_EWAY_Subscriptions::validate_subscription_payment_meta()
S
61 6 11
WC_Gateway_EWAY::__construct()
S
46 4 38
WC_Gateway_EWAY_Privacy::subscriptions_data_exporter()
S
45 3 45
woocommerce_eway_init()
S
55 4 19
WC_Gateway_EWAY::enqueue_scripts()
S
56 4 16
WC_EWAY_API::perform_request()
S
50 3 27
WC_Gateway_EWAY_Privacy::order_data_exporter()
S
52 3 26
WC_Gateway_EWAY_Blocks_Support::add_eway_saved_payment_methods()
S
52 3 25
WC_Gateway_EWAY::receipt_page()
S
50 3 25
WC_EWAY_API::perform_get_request()
S
52 3 23
WC_Gateway_EWAY::print_receipt_page_css()
S
56 3 17
WC_EWAY_API::debug_message()
S
71 4 5
woocommerce_eway_add_gateway()
S
62 3 12
WC_Gateway_EWAY_Subscriptions::process_subscription_payment()
S
62 3 11
WC_Gateway_EWAY::plugin_url()
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
55 2 20
WC_Gateway_EWAY_Subscriptions::set_token_customer_id()
S
65 3 9
WC_Gateway_EWAY_Subscriptions::get_subscriptions_from_order()
S
67 3 9
WC_Gateway_EWAY::log()
S
67 3 8
WC_Gateway_EWAY_Saved_Cards::output()
S
63 3 10
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_Privacy::__construct()
S
65 2 8
WC_Gateway_EWAY_Blocks_Support::get_show_saved_cards()
S
77 2 3
WC_Gateway_EWAY_Privacy::maybe_handle_order()
S
65 2 9
WC_Gateway_EWAY_Subscriptions_Deprecated::scheduled_subscription_payment()
S
64 2 9
WC_Gateway_EWAY_Subscriptions::order_contains_subscription()
S
78 2 3
WC_Gateway_EWAY_Subscriptions::scheduled_subscription_payment()
S
69 2 6
WC_Gateway_EWAY_Subscriptions::update_failing_payment_method()
S
73 2 4
WC_Gateway_EWAY::get_token_customer_id()
S
76 2 3
WC_EWAY_API::get_invoice_reference()
S
71 2 5
WC_EWAY_API::__construct()
S
69 2 6
WC_Gateway_EWAY_Subscriptions::get_token_customer_id()
S
66 2 8
WC_Gateway_EWAY::set_token_customer_id()
S
77 2 3
WC_Gateway_EWAY_Blocks_Support::initialize()
S
60 1 15
WC_Gateway_EWAY_Subscriptions::is_subscription()
S
69 2 7
WC_EWAY_API::direct_refund()
S
59 1 14
WC_Gateway_EWAY_Subscriptions::add_subscription_payment_meta()
S
63 1 11
WC_Gateway_EWAY_Blocks_Support::get_supported_features()
S
76 1 4
WC_EWAY_API::lookup_customer()
S
79 1 3
WC_Gateway_EWAY_Subscriptions_Deprecated::change_failing_payment_method()
S
74 1 4
WC_Gateway_EWAY_Privacy::get_privacy_message()
S
78 1 3
WC_EWAY_API::get_access_code_result()
S
70 1 6
WC_Gateway_EWAY_Subscriptions::__construct()
S
62 1 10
WC_Gateway_EWAY_Subscriptions_Deprecated::__construct()
S
69 1 6
WC_Gateway_EWAY_Saved_Cards::__construct()
S
75 1 4
WC_Gateway_EWAY_Blocks_Support::get_saved_cards()
S
79 1 3
woocommerce_eway_plugin_action_links()
S
68 1 7
WC_Gateway_EWAY_Blocks_Support::is_active()
S
73 1 5