Code Analysis: WooCommerce LayUp Payment Gateway 1.6.3

Function Rating Maintainability Complexity Lines of code
layup_display_icon()
B
29 5 251
layup_add_settings()
A
26
1 238
WC_Layup_Gateway::process_payment()
A
34 10 96
layup_check_payments()
A
38 10 67
save_layup_disable_field()
A
35 8 90
WC_Layup_Gateway::layup_callback()
A
39 10 59
WC_Settings_LayUp::layup_save()
A
40 8 67
WC_Settings_LayUp::layup_output()
A
41 6 61
layup_payment_plans_shortcode()
S
39 4 69
layup_display_estimate()
S
51 6 26
layup_check_prod()
S
40 3 64
layup_admin_footer_script()
S
47 4 41
check_layup_disable_field()
S
54 5 22
WC_Settings_LayUp::layup_get_settings()
S
42 2 64
WC_Layup_Gateway::init_form_fields()
S
40 1 76
woo_add_layup_date_fields()
S
46 3 45
layup_date_option()
S
53 4 22
WC_Layup_Gateway::__construct()
S
46 3 35
WC_Layup_Gateway::admin_notices()
S
54 3 21
WC_Layup_Gateway::is_valid_for_use()
S
66 4 8
WC_Settings_LayUp::layup_admin_notices()
S
60 3 15
my_error_notice()
S
54 2 28
WC_Layup_Gateway::admin_options()
S
58 2 16
layup_activation()
S
67 3 8
layup_add_to_cart_validation()
S
64 3 9
WC_Settings_LayUp::__construct()
S
56 1 20
layup_init_gateway_class()
S
66 2 9
layup_get_cart_item_from_session()
S
70 2 7
layup_order_item_product()
S
69 2 7
layup_add_cart_item_date()
S
69 2 7
woocommerce_layup_plugin_links()
S
58 1 15
layup_get_item_date()
S
64 2 10
layup_save_date_to_order_items()
S
67 2 8
layup_deactivation()
S
78 1 4
layup_add_payment_plans_link_my_account()
S
77 1 4
layup_add_payment_plans_endpoint()
S
79 1 3
create_layup_disable_field()
S
64 1 10
register_layup_style()
S
78 1 3
layup_payment_plans_content()
S
81 1 3
layup_payment_plans_query_vars()
S
77 1 4
layup_add_gateway_class()
S
77 1 4
layup_email_order_meta_fields()
S
75 1 4