Code Analysis: WooCommerce Reepay Gateway 1.2.3

Function Rating Maintainability Complexity Lines of code
reepay_init_gateway_class()
D
4
1 1,459
WC_Reepay_Gateway::scheduled_subscription_payment()
D
17
57 235
WC_Reepay_Gateway::process_payment()
D
14
43 391
WC_Reepay_Gateway::add_scripts_checkout()
D
18
41 292
WC_Reepay_Gateway::__construct()
B
36 14 81
WC_Reepay_Gateway::reepay_thankyou()
A
39 11 63
WC_Reepay_Gateway::add_reepay_charge_button()
A
38 9 84
WC_Reepay_Gateway::init_form_fields()
A
31 1 166
ajax_capture_charge()
S
43 5 49
ajax_cancel_invoice()
S
44 5 46
WC_Reepay_Gateway::payment_fields()
S
60 5 13
WC_Reepay_Gateway::process_refund()
S
49 3 32
WC_Reepay_Gateway::admin_options()
S
47 2 44
WC_Reepay_Gateway::add_payment_icon()
S
61 4 12
WC_Reepay_Gateway::filter_valid_order_statuses_for_cancel()
S
54 2 21
reepay_add_new_order_admin_list_column_content()
S
64 3 9
WC_Reepay_Gateway::sample_admin_notice_warning()
S
65 3 8
WC_Reepay_Gateway::validate_fields()
S
71 3 5
reepay_logs()
S
64 2 9
save_reepay_user_profile_fields()
S
70 2 6
reepay_user_profile_fields()
S
63 1 11
reepay_add_query_vars_filter()
S
72 1 6
save_reepay_toke_id_checkout_hidden_field()
S
78 1 3
reepay_token_id_checkout_hidden_field()
S
78 1 5
reepay_add_new_order_admin_list_column()
S
77 1 4
reepay_add_gateway_class()
S
77 1 4
WC_Reepay_Gateway::payment_scripts()
S
70 1 6