Code Analysis: Payment gateway: accept.blue for WooCommerce 1.0.0

Function Rating Maintainability Complexity Lines of code
WC_Acceptblue_Gateway_ACH::process_refund()
B
38 19 61
pgabfw_get_billing_shipping_info()
B
49 19 23
WC_Acceptblue_Gateway_Credit_Card::process_refund()
B
40 16 56
WC_Acceptblue_Gateway_Credit_Card::process_payment()
A
41 9 58
pgabfw_cron_check_transactions()
A
42 9 52
WC_Acceptblue_API::request()
S
45 6 41
WC_Acceptblue_Gateway_Credit_Card::validate_fields()
S
52 7 25
WC_Acceptblue_Gateway_Credit_Card::authorize_card_request()
S
46 6 37
pgabfw_contain_virtual_products()
S
58 7 15
pgabfw_charge_payment()
S
50 6 26
pgabfw_acceptblue_ssl_admin_notices()
S
55 6 17
pgabfw_credit_card_is_valid()
S
55 5 21
WC_Acceptblue_Gateway_Credit_Card::process_response()
S
53 5 20
enqueue_pgabfw_admin_scripts()
S
64 6 8
WC_Acceptblue_Gateway_ACH::process_payment()
S
49 3 32
pgabfw_card_expire_is_valid()
S
59 4 15
remove_pgabfw_acceptblue_ach()
S
67 5 8
WC_Acceptblue_API::is_response_error()
S
71 5 5
WC_Acceptblue_Gateway_Credit_Card::can_charge_transaction()
S
63 4 11
WC_Acceptblue_Gateway_Credit_Card::__construct()
S
46 2 39
WC_Acceptblue_Gateway_ACH::__construct()
S
48 2 34
pgabfw_set_api_options()
S
57 3 18
WC_Acceptblue_Gateway_Credit_Card::saved_payment_methods()
S
50 2 31
WC_Acceptblue_Gateway_ACH::process_response()
S
61 4 10
WC_Acceptblue_Gateway_Credit_Card::payment_fields()
S
53 2 27
WC_Acceptblue_Gateway_ACH::validate_fields()
S
62 3 11
WC_Acceptblue_Gateway_ACH::authorize_check_request()
S
54 2 20
pgabfw_card_cvv_is_valid()
S
66 3 8
pgabfw_can_create_refund()
S
66 3 8
WC_Acceptblue_Gateway_Credit_Card::save_payment_method()
S
58 2 15
pgabfw_can_send_void_request()
S
59 2 14
enqueue_pgabfw_common_scripts()
S
59 2 14
pgabfw_check_ach_orders_status()
S
62 2 12
pgabfw_can_send_refund_request()
S
62 2 11
pgabfw_is_enabled()
S
64 2 9
pgabfw_log()
S
68 2 7
pgabfw_map_orders_and_dates()
S
66 2 8
pgabfw_get_cron_date_range()
S
63 2 10
pgabfw_get_payment_method_from_order()
S
69 2 7
enqueue_pgabfw_common_styles()
S
73 2 5
WC_Acceptblue_API::get_source_option_key()
S
70 2 7
WC_Acceptblue_API::get_endpoint()
S
71 2 7
init_acceptblue_gateway()
S
64 1 11
pgabfw_is_logging()
S
75 1 4
WC_Acceptblue_API::get_check_transactions()
S
69 1 6
WC_Acceptblue_API::enable_debug_mode()
S
81 1 3
WC_Acceptblue_API::refund()
S
67 1 8
pgabfw_routing_number_is_valid()
S
76 1 4
pgabfw_acceptblue_woocommerce_is_not_active_notice()
S
64 1 10
WC_Acceptblue_Gateway_Credit_Card::init_form_fields()
S
80 1 3
enqueue_pgabfw_credit_card_scripts()
S
77 1 3
pgabfw_account_number_is_valid()
S
76 1 4
my_activation()
S
76 1 4
pgabfw_abps_bq_log()
S
74 1 4
WC_Acceptblue_Gateway_ACH::init_form_fields()
S
80 1 3
WC_Acceptblue_API::set_source_key()
S
81 1 3
add_acceptblue_gateway_class()
S
74 1 5
WC_Acceptblue_API::get_pin_code()
S
82 1 3
WC_Acceptblue_API::get_source_key()
S
82 1 3
WC_Acceptblue_Gateway_Credit_Card::charge_card_request()
S
65 1 9
pgabfw_date_from_w3c_to_utc()
S
79 1 3
cron_add_for_hour()
S
68 1 7
my_deactivation()
S
82 1 3
WC_Acceptblue_Gateway_ACH::payment_fields()
S
82 1 3
enqueue_pgabfw_check_scripts()
S
77 1 3
pgabfw_get_orders_for_cron()
S
66 1 9
WC_Acceptblue_Gateway_Credit_Card::print_error()
S
77 1 3
WC_Acceptblue_API::get_single_transaction()
S
69 1 6
WC_Acceptblue_API::set_pin_code()
S
81 1 3
WC_Acceptblue_API::void()
S
67 1 8