Code Analysis: Charge Anywhere Payment Gateway For WooCommerce 1.12

Function Rating Maintainability Complexity Lines of code
woocommerce_tech_chargeanywhere_init()
D
1
36 1,136
WC_ChargeAnyWhere_SIP::process_refund()
D
20
51 203
WC_ChargeAnyWhere_SIP::check_authorize_response()
C
32 22 103
WC_ChargeAnyWhere_SIP::generate_authorize_form()
B
29
11 137
validate_payment_form()
A
42 13 54
WC_ChargeAnyWhere_SIP::post_transaction()
A
41 9 58
WC_ChargeAnyWhere_SIP::process_capture()
A
44 10 41
WC_ChargeAnyWhere_SIP::__construct()
A
40 9 54
WC_ChargeAnyWhere_SIP::init_form_fields()
A
30 1 172
WC_ChargeAnyWhere_SIP::process_payment()
A
49 8 29
WC_ChargeAnyWhere_SIP::get_payload()
S
41 5 60
WC_ChargeAnyWhere_SIP::payment_fields()
S
61 3 11
WC_ChargeAnyWhere_SIP::validate_terminal_id_field()
S
71 2 6
WC_ChargeAnyWhere_SIP::capture()
S
66 2 8
WC_ChargeAnyWhere_SIP::refund()
S
66 2 8
WC_ChargeAnyWhere_SIP::validate_merchant_id_field()
S
71 2 6
WC_ChargeAnyWhere_SIP::validate_ach_service_fee_field()
S
69 2 7
WC_ChargeAnyWhere_SIP::validate_credit_service_fee_field()
S
69 2 7
WC_ChargeAnyWhere_SIP::logData()
S
62 2 9
WC_ChargeAnyWhere_SIP::validate_credit_convenience_service_fee_field()
S
69 2 7
WC_ChargeAnyWhere_SIP::validate_secret_key_field()
S
71 2 6
WC_ChargeAnyWhere_SIP::validate_ach_convenience_service_fee_field()
S
69 2 7
custom_script_in_admin()
S
75 1 4
WC_ChargeAnyWhere_SIP::web_redirect()
S
70 1 8
woocommerce_add_tech_chargeanywhere_gateway()
S
77 1 4
chargeAnyWhereSIP_action_links()
S
70 1 7
WC_ChargeAnyWhere_SIP::receipt_page()
S
75 1 4
WC_ChargeAnyWhere_SIP::admin_options()
S
70 1 6
WC_ChargeAnyWhere_SIP::seed_gen()
S
78 1 3