Code Analysis: WooCommerce MONEI Gateway 4.2.1

Function Rating Maintainability Complexity Lines of code
woocommerce_gateway_monei_init()
D
8
2 900
WC_Gateway_Preuthorizations_Monei::process_payment()
C
29
19 137
WC_Gateway_Monei::process_payment()
C
29
19 137
WC_Gateway_Monei::successful_request()
B
34 16 88
WC_Gateway_Preuthorizations_Monei::successful_request()
B
34 16 88
WC_Gateway_Preuthorizations_Monei::process_refund()
A
42 13 55
WC_Gateway_Monei::process_refund()
A
42 13 55
WC_Gateway_Preuthorizations_Monei::ask_for_refund()
A
34 9 108
WC_Gateway_Preuthorizations_Monei::payment_fields()
A
45 6 47
WC_Gateway_Monei::payment_fields()
A
45 6 47
WC_Gateway_Preuthorizations_Monei::doing_scheduled_subscription_payment()
S
37 4 75
WC_Gateway_Monei::doing_scheduled_subscription_payment()
S
37 4 75
WC_Gateway_Preuthorizations_Monei::is_paid()
S
51 7 29
WC_Gateway_Monei::is_paid()
S
51 7 29
WC_Gateway_Preuthorizations_Monei::__construct()
S
40 4 58
WC_Gateway_Monei::__construct()
S
40 4 58
WC_Gateway_Monei::ask_for_refund()
S
45 5 40
monei_add_notice_new_version()
S
49 5 32
monei_add_notice_new_version()
S
49 5 32
WC_Gateway_Preuthorizations_Monei::get_monei_args()
S
40 3 61
WC_Gateway_Monei::get_monei_args()
S
40 3 61
WC_Gateway_Preuthorizations_Monei::init_form_fields()
S
39 1 82
WC_Gateway_Monei::init_form_fields()
S
39 1 82
WC_Gateway_Monei::product_description()
S
54 5 21
WC_Gateway_Preuthorizations_Monei::product_description()
S
54 5 21
WC_Gateway_Monei::order_contains_subscription()
S
61 5 13
WC_Gateway_Preuthorizations_Monei::order_contains_subscription()
S
61 5 13
WC_Gateway_Preuthorizations_Monei::generate_monei_form()
S
47 3 39
WC_Gateway_Monei::generate_monei_form()
S
47 3 39
WC_Gateway_Preuthorizations_Monei::check_ipn_response()
S
53 4 23
WC_Gateway_Monei::check_ipn_response()
S
53 4 23
WC_Gateway_Monei::get_monei_users_token()
S
62 4 12
WC_Gateway_Preuthorizations_Monei::get_monei_users_token()
S
62 4 12
WC_Gateway_Monei::admin_options()
S
61 2 15
WC_Gateway_Monei::amount_format()
S
68 3 7
WC_Gateway_Preuthorizations_Monei::admin_options()
S
61 2 15
WC_Gateway_Preuthorizations_Monei::get_users_token_bulk()
S
64 3 10
WC_Gateway_Monei::get_users_token_bulk()
S
64 3 10
WC_Gateway_Preuthorizations_Monei::test_mode()
S
68 2 8
WC_Gateway_Preuthorizations_Monei::is_valid_for_use()
S
68 2 7
WC_Gateway_Monei::is_valid_for_use()
S
68 2 7
WC_Gateway_Monei::test_mode()
S
68 2 8
add_monei_meta_box()
S
64 1 8
WC_Gateway_Monei::receipt_page()
S
75 1 4
WC_Gateway_Preuthorizations_Monei::amount_format()
S
75 1 4
WC_Gateway_Preuthorizations_Monei::get_monei_order()
S
77 1 4
WC_Gateway_Monei::get_monei_order()
S
77 1 4
monei_style_checkout()
S
75 1 4
woocommerce_add_gateway_preauthorizations_monei_gateway()
S
77 1 4
WC_Gateway_Preuthorizations_Monei::receipt_page()
S
75 1 4
monei_notice_style()
S
75 1 4
woocommerce_add_gateway_monei_gateway()
S
77 1 4